1
0

Added ignored face fix from rlparadise

This commit is contained in:
colings 2011-01-01 12:20:47 -06:00
parent ae78daac3c
commit 290e3f220f

View File

@ -85,6 +85,11 @@ class picasa_faces_task_Core {
foreach ($faces as $faceId => $faceCoords) {
$faceMapping = ORM::factory("picasa_face")->where("face_id", "=", $faceId)->find();
// This is a special id Picasa uses for ignored faces, skip it
if ($faceId == "ffffffffffffffff") {
continue;
}
// If we don't already have a mapping for this face, create one
if (!$faceMapping->loaded()) {
$newTagId = self::getFaceMapping($faceId, $contacts);