Fix for multiple parallel group node executions.
authorLukas Toenne <lukas.toenne@googlemail.com>
Tue, 6 Sep 2011 16:32:51 +0000 (16:32 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Tue, 6 Sep 2011 16:32:51 +0000 (16:32 +0000)
commit884fc84793be1c5fdd6643ad267331381f8e1c6b
treed67444faa3372fd92b4a5cc37a41b7281a0ba2c2
parente79d16270bc29f44431689fdb1b362b1866ab8c3
Fix for multiple parallel group node executions.

This would previously break because begin/end functions for each tree type still have some checks of the ntree->execdata pointer in them, despite the intended use of execdata instances instead of trees themselves for execution data storage. This is an artifact of the old execution system that required these checks to be made in the functions to avoid multiple execution of top-level trees. Now these functions take an additional argument, so group nodes can prevent them from setting and checking the nodetree->execdata pointers.
13 files changed:
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/texture.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/nodes/composite/node_composite_tree.c
source/blender/nodes/composite/nodes/node_composite_common.c
source/blender/nodes/shader/node_shader_tree.c
source/blender/nodes/shader/nodes/node_shader_common.c
source/blender/nodes/texture/node_texture_tree.c
source/blender/nodes/texture/nodes/node_texture_common.c
source/blender/render/intern/source/render_texture.c