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:
authorTon Roosendaal <ton@blender.org>2006-06-23 23:43:48 +0400
committerTon Roosendaal <ton@blender.org>2006-06-23 23:43:48 +0400
commita1e77e239429c4e34b2509152af0efffef5d59e9 (patch)
treec14a53a04ff9f71f0dd0206b6ffd81c5669765ab /source/blender/src/drawnode.c
parenta6aa6b9ff4d8cad4de48291a73e9b723b89366c0 (diff)
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.
Diffstat (limited to 'source/blender/src/drawnode.c')
-rw-r--r--source/blender/src/drawnode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/drawnode.c b/source/blender/src/drawnode.c
index c5efcff4619..10aa6a5efc2 100644
--- a/source/blender/src/drawnode.c
+++ b/source/blender/src/drawnode.c
@@ -830,6 +830,7 @@ static int node_composit_buts_renderlayers(uiBlock *block, bNodeTree *ntree, bNo
MEM_freeN(strp);
/* re-render */
+ /* uses custom2, not the best implementation of the world... but we need it to work now :) */
bt= uiDefIconButS(block, TOG, B_NODE_EXEC+node->nr, ICON_SCENE,
butr->xmax-20, butr->ymin, 20, 19,
&node->custom2, 0, 0, 0, 0, "Re-render this Layer");