diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-23 00:29:44 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-23 00:29:44 +0400 |
commit | 4d7c44717aa67671518431183d38dab5d2a7a3dd (patch) | |
tree | 7738e22f5990b9bfbd4d15c845990b41b91728b1 /source/blender/blenkernel/intern/tracking.c | |
parent | 3563f677f88baf7b1f68d7f435787e3bf4a20d24 (diff) |
Code cleanup: fix some clang static checker warnings.
Diffstat (limited to 'source/blender/blenkernel/intern/tracking.c')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 83adfa12236..04e8c3df077 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -1288,8 +1288,8 @@ int BKE_tracking_next(MovieTrackingContext *context) MEM_freeN(image_new); } - coords_correct= !isnan(x2) && !isnan(y2) && finite(x2) && finite(y2); - if(coords_correct && !onbound && (tracked || !context->disable_failed)) { + coords_correct= !onbound && !isnan(x2) && !isnan(y2) && finite(x2) && finite(y2); + if(coords_correct && (tracked || !context->disable_failed)) { if(context->first_time) { #pragma omp critical { |