Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-02-16 15:14:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-02-16 15:16:14 +0300
commit6e08aa0a9e1cb8f781807274ca4b33212af9c035 (patch)
tree2dfcd8b8872935c70b1f411a47569aa14abb0882 /release/scripts
parent7c3d5a3337313663befef4c603341f6c1adf78b5 (diff)
Tracking: Expose Filter Tracks operators to the Cleanup panel
Not totally happy with this, but it's better than nothing for until we've got real outlier detection. Also made it more cleat how exactly filtering happens, so users don't expect something the operator is not intended to do.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_operators/clip.py1
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 5ce09b30d1f..a61791fe19c 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -125,6 +125,7 @@ def CLIP_default_settings_from_track(clip, track, framenr):
class CLIP_OT_filter_tracks(bpy.types.Operator):
+ """Filter tracks which has weirdly looking spikes in motion curves"""
bl_label = "Filter Tracks"
bl_idname = "clip.filter_tracks"
bl_options = {'UNDO', 'REGISTER'}
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 727bd774a68..a9fcdea35c7 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -467,6 +467,7 @@ class CLIP_PT_tools_cleanup(CLIP_PT_tracking_panel, Panel):
layout.prop(settings, "clean_frames", text="Frames")
layout.prop(settings, "clean_error", text="Error")
layout.prop(settings, "clean_action", text="")
+ layout.operator("clip.filter_tracks")
class CLIP_PT_tools_geometry(CLIP_PT_tracking_panel, Panel):