Bugfix 4424

When using the button in a RenderLayer node to render a single node, the
new 'render to fullscreen' crashed in end. Reason; the node editor was
still handling events after a render, as if the node editor was still open.
This commit is contained in:
2006-06-23 19:43:48 +00:00
parent a6aa6b9ff4
commit a1e77e2394
3 changed files with 9 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ void do_node_addmenu(void *arg, int event)
areamouseco_to_ipoco(G.v2d, mval, &locx, &locy);
node_add_node(snode, event, locx, locy);
addqueue(curarea->win, B_NODE_TREE_EXEC, 1);
addqueue(curarea->win, UI_BUT_EVENT, B_NODE_TREE_EXEC);
BIF_undo_push("Add Node");