Fix issue with tracks color presets
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 15 Nov 2011 20:26:44 +0000 (20:26 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 15 Nov 2011 20:26:44 +0000 (20:26 +0000)
release/scripts/startup/bl_operators/presets.py

index dca96b302fbf2f3a1818d7bea7eb339845885449..100b21fc303e05b5cd2a8c006d6f2da40511ed23 100644 (file)
@@ -349,7 +349,7 @@ class AddPresetTrackingTrackColor(AddPresetBase, Operator):
     preset_menu = "CLIP_MT_track_color_presets"
 
     preset_defines = [
-        "track = bpy.context.edit_movieclip.tracking.tracks"
+        "track = bpy.context.edit_movieclip.tracking.tracks.active"
     ]
 
     preset_values = [