diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-08 10:39:45 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-08 10:39:45 +0400 |
commit | da698657cee0500f1f0cff6d4340e016dd34a94e (patch) | |
tree | 4266237eafed85cdc122da80696bc577642c8f2e /release/scripts | |
parent | 6e43a69a8d3dc88594df6f0d15686cad8e7e6646 (diff) |
Keying Sets - Bugfixes + Auto-Keyframing
* Added a new option for Auto-Keyframing which makes it only insert keyframes for the items included in the active Keying Set.
This only works for Transform Auto-Keyframing so far (other tools will get it added later). The option is disabled by default.
* Fixed bug where adding an 'entire' array to some KeyingSet would only start from the index of the button that the mouse was over at the time
* Made some UI tweaks for Keying Sets buttons (still heaps of missing options there).
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/ui/buttons_scene.py | 6 | ||||
-rw-r--r-- | release/scripts/ui/space_userpref.py | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/release/scripts/ui/buttons_scene.py b/release/scripts/ui/buttons_scene.py index 666bbacea50..9bd0019bd6c 100644 --- a/release/scripts/ui/buttons_scene.py +++ b/release/scripts/ui/buttons_scene.py @@ -474,6 +474,9 @@ class SCENE_PT_keying_sets(SceneButtonsPanel): scene = context.scene row = layout.row() + row.itemL(text="Keying Sets") + + row = layout.row() col = row.column() col.template_list(scene, "keying_sets", scene, "active_keying_set_index", rows=2) @@ -509,6 +512,9 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): ks = scene.active_keying_set row = layout.row() + row.itemL(text="Paths") + + row = layout.row() col = row.column() col.template_list(ks, "paths", ks, "active_path_index", rows=2) diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index ce8d03d3292..43c70dac4b1 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -199,13 +199,16 @@ class USERPREF_PT_edit(bpy.types.Panel): sub1 = sub.column() sub1.itemL(text="Keyframing:") sub1.itemR(edit, "use_visual_keying") - sub1.itemR(edit, "auto_keyframe_insert_available", text="Only Insert Available") - sub1.itemR(edit, "auto_keyframe_insert_needed", text="Only Insert Needed") + sub1.itemR(edit, "keyframe_insert_needed", text="Only Insert Needed") sub1.itemS() sub1.itemL(text="New F-Curve Defaults:") sub1.itemR(edit, "new_interpolation_type", text="Interpolation") sub1.itemS() - sub1.itemR(edit, "auto_keying_enable", text="Auto Keyframing") + sub1.itemR(edit, "auto_keying_enable", text="Auto Keyframing:") + sub2 = sub1.column() + sub2.active = edit.auto_keying_enable + sub2.itemR(edit, "auto_keyframe_insert_keyingset", text="Only Insert for Keying Set") + sub2.itemR(edit, "auto_keyframe_insert_available", text="Only Insert Available") sub1.itemS() sub1.itemS() |