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>2009-07-29 15:59:21 +0400
committerJoshua Leung <aligorith@gmail.com>2009-07-29 15:59:21 +0400
commitb3d07534679e243759892f2a1206dc8756a1c004 (patch)
tree1d444fc927abf65f4f50a0ccd9317d948452d0be /source/blender/editors/space_graph
parent1744061a9104b736a11f13b4165cce105cfdd06e (diff)
2.5 - Small tweaks to order of buttons for Animation Editor header buttons to have more consistent layout
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_header.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/space_graph/graph_header.c b/source/blender/editors/space_graph/graph_header.c
index 1b8b579326f..4369c321c5e 100644
--- a/source/blender/editors/space_graph/graph_header.c
+++ b/source/blender/editors/space_graph/graph_header.c
@@ -314,13 +314,6 @@ void graph_header_buttons(const bContext *C, ARegion *ar)
xco += 6*XIC + 15;
}
- /* copy + paste */
- uiBlockBeginAlign(block);
- uiDefIconButO(block, BUT, "GRAPH_OT_copy", WM_OP_INVOKE_REGION_WIN, ICON_COPYDOWN, xco+=XIC,yco,XIC,YIC, "Copies the selected keyframes from the selected channel(s) to the buffer");
- uiDefIconButO(block, BUT, "GRAPH_OT_paste", WM_OP_INVOKE_REGION_WIN, ICON_PASTEDOWN, xco+=XIC,yco,XIC,YIC, "Pastes the keyframes from the buffer");
- uiBlockEndAlign(block);
- xco += (XIC + 8);
-
/* auto-snap selector */
if (sipo->flag & SIPO_DRAWTIME) {
uiDefButS(block, MENU, B_REDR,
@@ -336,6 +329,13 @@ void graph_header_buttons(const bContext *C, ARegion *ar)
}
xco += 98;
+ /* copy + paste */
+ uiBlockBeginAlign(block);
+ uiDefIconButO(block, BUT, "GRAPH_OT_copy", WM_OP_INVOKE_REGION_WIN, ICON_COPYDOWN, xco+=XIC,yco,XIC,YIC, "Copies the selected keyframes from the selected channel(s) to the buffer");
+ uiDefIconButO(block, BUT, "GRAPH_OT_paste", WM_OP_INVOKE_REGION_WIN, ICON_PASTEDOWN, xco+=XIC,yco,XIC,YIC, "Pastes the keyframes from the buffer");
+ uiBlockEndAlign(block);
+ xco += (XIC + 8);
+
/* ghost curves */
// XXX these icons need to be changed
if (sipo->ghostCurves.first)