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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-19 04:55:30 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-19 04:55:30 +0400
commit184ac26dd0187d70985cdc49ae527a1900fce840 (patch)
tree7b946acb11e0a430b61e2f608e0308a1b18439d7 /source/blender/editors/space_graph
parente21c1dde810b3447eaa1f6a667ae027978b18d9b (diff)
2.5: Headers
* Fix header menu spacing bug, and make it consistent for all headers. * For consistency, always put menus first in the header, then any enums to switch the type of data displayed. * Node editor header ported to python layout. Still quite a few operators missing to make the menus complete. * RNA wrapped node editor, and added use_nodes property to material and scene.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_header.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_graph/graph_header.c b/source/blender/editors/space_graph/graph_header.c
index 2c9017db649..c4654972dcd 100644
--- a/source/blender/editors/space_graph/graph_header.c
+++ b/source/blender/editors/space_graph/graph_header.c
@@ -201,9 +201,9 @@ static void graph_edit_expomenu(bContext *C, uiLayout *layout, void *arg_unused)
static void graph_editmenu(bContext *C, uiLayout *layout, void *arg_unused)
{
- uiItemMenuF(layout, "Transform", 0, graph_edit_transformmenu);
- uiItemMenuF(layout, "Snap", 0, graph_edit_snapmenu);
- uiItemMenuF(layout, "Mirror", 0, graph_edit_mirrormenu);
+ uiItemMenuF(layout, "Transform", 0, graph_edit_transformmenu, NULL);
+ uiItemMenuF(layout, "Snap", 0, graph_edit_snapmenu, NULL);
+ uiItemMenuF(layout, "Mirror", 0, graph_edit_mirrormenu, NULL);
uiItemS(layout);
@@ -217,9 +217,9 @@ static void graph_editmenu(bContext *C, uiLayout *layout, void *arg_unused)
uiItemS(layout);
- uiItemMenuF(layout, "Handle Type", 0, graph_edit_handlesmenu);
- uiItemMenuF(layout, "Interpolation Mode", 0, graph_edit_ipomenu);
- uiItemMenuF(layout, "Extrapolation Mode", 0, graph_edit_expomenu);
+ uiItemMenuF(layout, "Handle Type", 0, graph_edit_handlesmenu, NULL);
+ uiItemMenuF(layout, "Interpolation Mode", 0, graph_edit_ipomenu, NULL);
+ uiItemMenuF(layout, "Extrapolation Mode", 0, graph_edit_expomenu, NULL);
uiItemS(layout);