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).
This commit is contained in:
Joshua Leung
2009-10-08 06:39:45 +00:00
parent 6e43a69a8d
commit da698657ce
8 changed files with 70 additions and 11 deletions

View File

@@ -473,6 +473,9 @@ class SCENE_PT_keying_sets(SceneButtonsPanel):
scene = context.scene
row = layout.row()
row.itemL(text="Keying Sets")
row = layout.row()
col = row.column()
@@ -508,6 +511,9 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel):
scene = context.scene
ks = scene.active_keying_set
row = layout.row()
row.itemL(text="Paths")
row = layout.row()
col = row.column()

View File

@@ -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()