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:
authorJoseph Eagar <joeedh@gmail.com>2010-02-14 06:18:43 +0300
committerJoseph Eagar <joeedh@gmail.com>2010-02-14 06:18:43 +0300
commita81030a95e69a9ac5c68dc9f86d651cffdc7a961 (patch)
tree42d52c7b50e99dcf04fca04e21ce139cc6d04229 /release/scripts/ui/space_graph.py
parent8f0b1acae242255125f3f32909cb78a886c90142 (diff)
Added a euler filter script, to filter out discontineouities in euler curves (e.g. where curves randomly have -/+ multiples of 360 offsets in sections). To use, select a curve in the fcurve editor and do Channel->Discontinuity (Euler) Filter. Note, will only work on euler rotation curves, won't do anything on anything else.
Diffstat (limited to 'release/scripts/ui/space_graph.py')
-rw-r--r--release/scripts/ui/space_graph.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/space_graph.py b/release/scripts/ui/space_graph.py
index 1bbae997846..16a615d2be7 100644
--- a/release/scripts/ui/space_graph.py
+++ b/release/scripts/ui/space_graph.py
@@ -147,6 +147,9 @@ class GRAPH_MT_channel(bpy.types.Menu):
layout.operator("anim.channels_expand")
layout.operator("anim.channels_collapse")
+ layout.separator()
+ layout.operator("graph.discont_filter", text="Discontinuity (Euler) Filter")
+
class GRAPH_MT_key(bpy.types.Menu):
bl_label = "Key"
@@ -182,7 +185,6 @@ class GRAPH_MT_key(bpy.types.Menu):
layout.operator("graph.copy")
layout.operator("graph.paste")
-
class GRAPH_MT_key_transform(bpy.types.Menu):
bl_label = "Transform"