Tracks which were moved to close to boundary weren'haven't been disabled when doing
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 7 Dec 2011 10:53:51 +0000 (10:53 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 7 Dec 2011 10:53:51 +0000 (10:53 +0000)
frame-by-frame tracking.

source/blender/blenkernel/intern/tracking.c

index e3284b46e8ec01828e86de4a6aae292b02bb3142..9044661f3691b93768df5df487c8886207acb553 100644 (file)
@@ -1282,7 +1282,7 @@ int BKE_tracking_next(MovieTrackingContext *context)
                        }
 
                        coords_correct= !isnan(x2) && !isnan(y2) && finite(x2) && finite(y2);
-                       if(coords_correct && (tracked || !context->disable_failed)) {
+                       if(coords_correct && !onbound && (tracked || !context->disable_failed)) {
                                if(context->first_time) {
                                        #pragma omp critical
                                        {