Fix for [#32016] Tracking Settings Presets not working
authorThomas Dinges <blender@dingto.org>
Wed, 4 Jul 2012 23:00:49 +0000 (23:00 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 4 Jul 2012 23:00:49 +0000 (23:00 +0000)
* Removed outdated properties from the presets.

Note: it does not fail anymore, but needs an update for new settings probably.

release/scripts/presets/tracking_settings/blurry_footage.py
release/scripts/presets/tracking_settings/blurry_movie.py
release/scripts/presets/tracking_settings/default.py
release/scripts/presets/tracking_settings/fast_motion.py
release/scripts/startup/bl_operators/clip.py
release/scripts/startup/bl_operators/presets.py

index c06d4c3835b75cfc119571ab970ecb433d79c819..f2df4a15320ab756f0bd356472f9f5aceecc4aa7 100644 (file)
@@ -1,8 +1,6 @@
 import bpy
 settings = bpy.context.edit_movieclip.tracking.settings
 
-settings.default_tracker = 'Hybrid'
-settings.default_pyramid_levels = 2
 settings.default_correlation_min = 0.75
 settings.default_pattern_size = 21
 settings.default_search_size = 100
index 8a503bec9bdbb973795f3e84c2d135b291fd8648..fe68f1352c1ae4f5776f9dc47b905a8cb45db510 100644 (file)
@@ -1,8 +1,6 @@
 import bpy
 settings = bpy.context.edit_movieclip.tracking.settings
 
-settings.default_tracker = 'KLT'
-settings.default_pyramid_levels = 4
 settings.default_correlation_min = 0.75
 settings.default_pattern_size = 11
 settings.default_search_size = 202
index b9fd1928472853139a30abd9c82c9dc0ecd6dc56..0cc3a21c845f81cabe1a748f43d28e421b98f599 100644 (file)
@@ -1,8 +1,6 @@
 import bpy
 settings = bpy.context.edit_movieclip.tracking.settings
 
-settings.default_tracker = 'Hybrid'
-settings.default_pyramid_levels = 2
 settings.default_correlation_min = 0.75
 settings.default_pattern_size = 11
 settings.default_search_size = 61
index dce3304eddb6044ec92fd75f85043d70508ac5d0..5e6e44e6a4204ed30149cb77243eea86d9074c2c 100644 (file)
@@ -1,8 +1,6 @@
 import bpy
 settings = bpy.context.edit_movieclip.tracking.settings
 
-settings.default_tracker = 'Hybrid'
-settings.default_pyramid_levels = 2
 settings.default_correlation_min = 0.7
 settings.default_pattern_size = 31
 settings.default_search_size = 300
index 97cfadeb7b230c29ccaa986b26337ca229657aaf..a30502b454e0398486400a743bac522c9bea5334 100644 (file)
@@ -105,8 +105,6 @@ def CLIP_default_settings_from_track(clip, track):
     search[0] = search[0] * width
     search[1] = search[1] * height
 
-    settings.default_tracker = track.tracker
-    settings.default_pyramid_levels = track.pyramid_levels
     settings.default_correlation_min = track.correlation_min
     settings.default_pattern_size = max(pattern[0], pattern[1])
     settings.default_search_size = max(search[0], search[1])
index 0bd9a5065a22c4929b851d6cce69ac69645c956b..05f76208a5f60eb49bd4670149f84e2071905e9b 100644 (file)
@@ -436,8 +436,6 @@ class AddPresetTrackingSettings(AddPresetBase, Operator):
     ]
 
     preset_values = [
-        "settings.default_tracker",
-        "settings.default_pyramid_levels",
         "settings.default_correlation_min",
         "settings.default_pattern_size",
         "settings.default_search_size",