diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-11-11 14:56:50 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-11-11 14:56:50 +0300 |
commit | c1a74d9bd6b186966568e6455f6fe4c50a3cf17f (patch) | |
tree | 92d83d1e02cfadbbbf164caf5816101851862ffd /release/scripts/ui/space_dopesheet.py | |
parent | 5aea6c21810f4deaeb7b3c834b65f4969be48054 (diff) |
Animation Editors: Experimental indicators + "fixup" operator for "Disabled FCurves"
F-Curves tagged as "disabled" now have their channels drawn with a red line underlining their names.
"Disabled" F-Curves are skipped for evaluation, and typically result (for example) from assigning an action from one armature to another, but the new armature does not have some of the bones the action's F-Curves need in order for the datapaths (referring to the property the F-Curves affect) to be resolved. This is to prevent heaps of invalid channels slowing down animation playback.
I've also added a new operator, found by:
Channels -> Revive Disabled F-Curves
in the Graph Editor and DopeSheet/Action Editors, which will clear all the disabled tags for all the F-Curves in the animation editor at the time (based on the filtering criteria).
Use this operator to clear the disabled tags, allowing such channels to be able to be evaluated again (perhaps after adding the offending bones for example, or when using the action on the original armature again).
Diffstat (limited to 'release/scripts/ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/ui/space_dopesheet.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/ui/space_dopesheet.py b/release/scripts/ui/space_dopesheet.py index b416c9ee01a..c4b64275edc 100644 --- a/release/scripts/ui/space_dopesheet.py +++ b/release/scripts/ui/space_dopesheet.py @@ -202,6 +202,10 @@ class DOPESHEET_MT_channel(bpy.types.Menu): layout.separator() layout.operator_menu_enum("anim.channels_move", "direction", text="Move...") + layout.separator() + layout.operator("anim.channels_revive_fcurves") + + class DOPESHEET_MT_key(bpy.types.Menu): bl_label = "Key" |