Node Interface:

* Small tweak to the "Interface" panel for group nodes, move separator into the branch to save some UI space.
This commit is contained in:
Thomas Dinges 2013-03-18 19:59:11 +00:00
parent 6cdce15c3b
commit 3147d95bdf

@ -233,10 +233,10 @@ static void node_tree_interface_panel(const bContext *C, Panel *pa)
uiItemR(row, &sockptr, "name", 0, NULL, ICON_NONE);
uiItemO(row, "", ICON_X, "NODE_OT_tree_socket_remove");
uiItemS(layout);
if (sock->typeinfo->interface_draw)
if (sock->typeinfo->interface_draw) {
uiItemS(layout);
sock->typeinfo->interface_draw((bContext *)C, layout, &sockptr);
}
}
}