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:
authorJoshua Leung <aligorith@gmail.com>2015-04-03 14:16:40 +0300
committerJoshua Leung <aligorith@gmail.com>2015-04-03 15:39:58 +0300
commit5681b4fc83c4ce96ae15a0ab63bea94a9b53b142 (patch)
tree180e67620644f9e5fd26b254d832a11cd39475ad
parent943b830bf6b0b992323e9d439bdf7ed758212846 (diff)
Action Editor: Move up/down buttons to be before the datablock selector
It turned out that the constantly changing width of the datablock selector made it a pain to use these to quickly toggle between different actions, as the buttons would keep jumping around, thus leading to errors when quickly toggling between actions. This way doesn't look quite as great, but should be more usable.
-rw-r--r--release/scripts/startup/bl_ui/space_dopesheet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index 27fc73f88b6..c4452ee61f4 100644
--- a/release/scripts/startup/bl_ui/space_dopesheet.py
+++ b/release/scripts/startup/bl_ui/space_dopesheet.py
@@ -114,12 +114,12 @@ class DOPESHEET_HT_header(Header):
layout.prop(st, "mode", text="")
if st.mode in {'ACTION', 'SHAPEKEY'}:
- layout.template_ID(st, "action", new="action.new")
-
row = layout.row(align=True)
row.operator("action.layer_prev", text="", icon='TRIA_DOWN')
row.operator("action.layer_next", text="", icon='TRIA_UP')
+ layout.template_ID(st, "action", new="action.new")
+
row = layout.row(align=True)
row.operator("action.push_down", text="Push Down", icon='NLA_PUSHDOWN')
row.operator("action.stash", text="Stash", icon='FREEZE')