[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43661] trunk/blender/source/blender/ blenkernel/intern/tracking.c: Fix #29975: Track Preview color channels not filtering correctly

Sergey Sharybin sergey.vfx at gmail.com
Tue Jan 24 13:25:13 CET 2012


Revision: 43661
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43661
Author:   nazgul
Date:     2012-01-24 12:25:03 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Fix #29975: Track Preview color channels not filtering correctly

Typo in checking bitflags

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/tracking.c

Modified: trunk/blender/source/blender/blenkernel/intern/tracking.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/tracking.c	2012-01-24 08:43:39 UTC (rev 43660)
+++ trunk/blender/source/blender/blenkernel/intern/tracking.c	2012-01-24 12:25:03 UTC (rev 43661)
@@ -1062,7 +1062,7 @@
 static void disable_imbuf_channels(ImBuf *ibuf, MovieTrackingTrack *track, int grayscale)
 {
 	BKE_tracking_disable_imbuf_channels(ibuf, track->flag&TRACK_DISABLE_RED,
-			track->flag&TRACK_DISABLE_GREEN, track->flag&TRACK_DISABLE_RED, grayscale);
+			track->flag&TRACK_DISABLE_GREEN, track->flag&TRACK_DISABLE_BLUE, grayscale);
 }
 
 static ImBuf *get_area_imbuf(ImBuf *ibuf, MovieTrackingTrack *track, MovieTrackingMarker *marker,



More information about the Bf-blender-cvs mailing list