[Bf-blender-cvs] [cd289f6ea5b] blender2.8: UI Tweak: Bring Graph Editor's mode selector left of the menus, as is now done for Dopesheet
Joshua Leung
noreply at git.blender.org
Mon Apr 23 12:02:03 CEST 2018
Commit: cd289f6ea5bb56115d8482aacaba65a98b658efc
Author: Joshua Leung
Date: Mon Apr 23 12:01:59 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBcd289f6ea5bb56115d8482aacaba65a98b658efc
UI Tweak: Bring Graph Editor's mode selector left of the menus, as is now done for Dopesheet
===================================================================
M release/scripts/startup/bl_ui/space_graph.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index e2407f1f2b2..219043d0467 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -36,10 +36,10 @@ class GRAPH_HT_header(Header):
row = layout.row(align=True)
row.template_header()
- GRAPH_MT_editor_menus.draw_collapsible(context, layout)
-
layout.prop(st, "mode", text="")
+ GRAPH_MT_editor_menus.draw_collapsible(context, layout)
+
dopesheet_filter(layout, context)
row = layout.row(align=True)
More information about the Bf-blender-cvs
mailing list