diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-03-16 13:18:19 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-03-16 13:18:19 +0300 |
commit | 1cf95d2494ab82af61153abc3c45fa1a4fd3a4ed (patch) | |
tree | 8233d83aaa6ec9a9bc5a5eaeaad061355f74d08c /release | |
parent | f1c049137ef89d0597f79cb0d909c7ac2821b14c (diff) |
Keying Set Fixes:
* 'Export Keying Set' operator works again - a change in the previous commit broke the created code
* Relative Keying Sets don't get their paths shown
* Keying Set paths show options for inserting keyframes too now
---
Another attempt at fixing compile troubles, and removed some commented out + obsolete stuff.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_scene.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_scene.py b/release/scripts/ui/properties_scene.py index 0209140ef4e..7cdb42b832b 100644 --- a/release/scripts/ui/properties_scene.py +++ b/release/scripts/ui/properties_scene.py @@ -120,7 +120,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): bl_label = "Active Keying Set" def poll(self, context): - return (context.scene.active_keying_set is not None) + return (context.scene.active_keying_set and context.scene.active_keying_set.absolute); def draw(self, context): layout = self.layout @@ -163,6 +163,11 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): col.prop(ksp, "grouping") if ksp.grouping == 'NAMED': col.prop(ksp, "group") + + col.label(text="Keyframing Settings:") + col.prop(ksp, "insertkey_needed", text="Needed") + col.prop(ksp, "insertkey_visual", text="Visual") + col.prop(ksp, "insertkey_xyz_to_rgb", text="XYZ to RGB") class SCENE_PT_physics(SceneButtonsPanel): @@ -295,7 +300,7 @@ class ANIM_OT_keying_set_export(bpy.types.Operator): # write paths f.write("# Path Definitions\n") for ksp in ks.paths: - f.write("ksp = ks.add_destination(") + f.write("ksp = ks.add_path(") # id-block + RNA-path if ksp.id: |