[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42379] branches/soc-2011-tomato/release/ scripts/startup/bl_ui/space_clip.py: Don't show the "Correlation" tracking preset when the hybrid tracker is selected.

Keir Mierle mierle at gmail.com
Sun Dec 4 00:33:07 CET 2011


Revision: 42379
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42379
Author:   keir
Date:     2011-12-03 23:33:07 +0000 (Sat, 03 Dec 2011)
Log Message:
-----------
Don't show the "Correlation" tracking preset when the hybrid tracker is selected.

Modified Paths:
--------------
    branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py

Modified: branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py
===================================================================
--- branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py	2011-12-03 23:30:11 UTC (rev 42378)
+++ branches/soc-2011-tomato/release/scripts/startup/bl_ui/space_clip.py	2011-12-03 23:33:07 UTC (rev 42379)
@@ -129,7 +129,7 @@
 
             if settings.default_tracker == 'KLT':
                 col.prop(settings, "default_pyramid_levels")
-            else:
+            elif settings.default_tracker == 'SAD':
                 col.prop(settings, "default_correlation_min")
 
             col.separator()




More information about the Bf-blender-cvs mailing list