diff options
Diffstat (limited to 'release/scripts/ui/space_nla.py')
-rw-r--r-- | release/scripts/ui/space_nla.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/release/scripts/ui/space_nla.py b/release/scripts/ui/space_nla.py index 1141a640534..3b187d707ec 100644 --- a/release/scripts/ui/space_nla.py +++ b/release/scripts/ui/space_nla.py @@ -25,6 +25,8 @@ class NLA_HT_header(bpy.types.Header): bl_space_type = 'NLA_EDITOR' def draw(self, context): + from space_dopesheet import dopesheet_filter + layout = self.layout st = context.space_data @@ -40,9 +42,9 @@ class NLA_HT_header(bpy.types.Header): sub.menu("NLA_MT_edit") sub.menu("NLA_MT_add") - layout.template_dopesheet_filter(st.dopesheet) + dopesheet_filter(layout, context) - layout.prop(st, "autosnap", text="") + layout.prop(st, "auto_snap", text="") class NLA_MT_view(bpy.types.Menu): @@ -59,8 +61,8 @@ class NLA_MT_view(bpy.types.Menu): layout.separator() - layout.prop(st, "realtime_updates") - layout.prop(st, "show_cframe_indicator") + layout.prop(st, "use_realtime_update") + layout.prop(st, "show_frame_indicator") layout.operator("anim.time_toggle", text="Show Frames" if st.show_seconds else "Show Seconds") @@ -122,7 +124,7 @@ class NLA_MT_edit(bpy.types.Menu): layout.separator() # TODO: names of these tools for 'tweakmode' need changing? - if scene.nla_tweakmode_on: + if scene.is_nla_tweakmode: layout.operator("nla.tweakmode_exit", text="Stop Tweaking Strip Actions") else: layout.operator("nla.tweakmode_enter", text="Start Tweaking Strip Actions") |