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:
authorCampbell Barton <ideasman42@gmail.com>2009-10-08 23:06:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-08 23:06:32 +0400
commit5c867406aa66a1d89260c233a6bbc1a2a7912dbe (patch)
tree0cce14e7a49cb61b6114b69f457ca6a920db8de4 /source/blender/editors/space_node/node_header.c
parent3ebd58673fb9a8c5ef13048b2e8e8a4cb7bb3a4e (diff)
menus are now global (like operators), so for eg, the info add menu and the 3D add menu can be shared.
Diffstat (limited to 'source/blender/editors/space_node/node_header.c')
-rw-r--r--source/blender/editors/space_node/node_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_header.c b/source/blender/editors/space_node/node_header.c
index 2abcd2f2135..a0eae40f579 100644
--- a/source/blender/editors/space_node/node_header.c
+++ b/source/blender/editors/space_node/node_header.c
@@ -199,7 +199,7 @@ void node_menus_register(ARegionType *art)
strcpy(mt->idname, "NODE_MT_add");
strcpy(mt->label, "Add");
mt->draw= node_menu_add;
- BLI_addtail(&art->menutypes, mt);
+ WM_menutype_add(mt);
}
#if 0