diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-11 17:08:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-11 17:08:54 +0400 |
commit | 4bf4c4111e63466c42987e185d8f2e09d7b17186 (patch) | |
tree | 8d8e329932bfdaf3e940fb7394a267b7bb8a58a5 /source/blender/editors/space_node/node_templates.c | |
parent | c0a13322cdea417885ce9f88d0b42ff0ef62483c (diff) |
Own recent removal of string encoded menus missed render layers/passes
Diffstat (limited to 'source/blender/editors/space_node/node_templates.c')
-rw-r--r-- | source/blender/editors/space_node/node_templates.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_templates.c b/source/blender/editors/space_node/node_templates.c index 13a702e09c4..c75c16e61c5 100644 --- a/source/blender/editors/space_node/node_templates.c +++ b/source/blender/editors/space_node/node_templates.c @@ -562,8 +562,8 @@ void uiTemplateNodeLink(uiLayout *layout, bNodeTree *ntree, bNode *node, bNodeSo else but = uiDefIconMenuBut(block, ui_template_node_link_menu, NULL, ICON_NONE, 0, 0, UI_UNIT_X, UI_UNIT_Y, ""); - but->type = MENU; - but->drawflag |= UI_BUT_TEXT_LEFT; + uiButSetMenuFromPulldown(but); + but->flag |= UI_BUT_NODE_LINK; but->poin = (char *)but; but->func_argN = arg; |