Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-02 15:45:55 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-02 15:54:20 +0300
commit5b7f0d36f3532265f562625d121dcc05c937b9dc (patch)
treef09fa03b4f00e745967dbbe7683ec9551be7ad81 /release/scripts/startup/bl_ui/space_nla.py
parentcec11c86e560a6327c5d10d1a4d55555ec33335b (diff)
UI: Header consistency for animation editors
Diffstat (limited to 'release/scripts/startup/bl_ui/space_nla.py')
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index 9a5f835d505..d85f7711c1a 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -37,6 +37,14 @@ class NLA_HT_header(Header):
row = layout.row(align=True)
row.template_header()
+ NLA_MT_editor_menus.draw_collapsible(context, layout)
+
+ layout.separator_spacer()
+
+ dopesheet_filter(layout, context)
+
+ layout.prop(st, "auto_snap", text="")
+
layout.popover(
space_type='NLA_EDITOR',
region_type='HEADER',
@@ -45,13 +53,6 @@ class NLA_HT_header(Header):
icon='FILTER',
)
- NLA_MT_editor_menus.draw_collapsible(context, layout)
-
- dopesheet_filter(layout, context)
-
- layout.separator_spacer()
- layout.prop(st, "auto_snap", text="")
-
class NLA_PT_filters(DopesheetFilterPopoverBase, Panel):
bl_space_type = 'NLA_EDITOR'