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:
authorLukas Stockner <lukas.stockner@freenet.de>2018-09-24 12:40:00 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2018-09-24 12:40:00 +0300
commit24330f679e39f83cbbe4b85625b08d933ff4a14e (patch)
treef6d2093492a1b5a6d370bf4d3401b2ff5efdc31c /source/blender/nodes/composite/nodes/node_composite_image.c
parent0a968510bf65cf3418b98fb4682d601433ae0152 (diff)
Fix T56875: Auto Render not working after render pass name refactor
The default compositor node update function sets the need_exec flag on the node which the Auto Render feature checks, but the custom update function that was added as part of rB4cf7fc3b3a4d didn't do so. Therefore, the two custom update functions that were added now also call the default update function.
Diffstat (limited to 'source/blender/nodes/composite/nodes/node_composite_image.c')
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_image.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_image.c b/source/blender/nodes/composite/nodes/node_composite_image.c
index 52e58a0ebd3..eb48d332f19 100644
--- a/source/blender/nodes/composite/nodes/node_composite_image.c
+++ b/source/blender/nodes/composite/nodes/node_composite_image.c
@@ -295,6 +295,8 @@ static void cmp_node_image_update(bNodeTree *ntree, bNode *node)
/* avoid unnecessary updates, only changes to the image/image user data are of interest */
if (node->update & NODE_UPDATE_ID)
cmp_node_image_verify_outputs(ntree, node, false);
+
+ cmp_node_update_default(ntree, node);
}
static void node_composit_init_image(bNodeTree *ntree, bNode *node)
@@ -427,6 +429,8 @@ static void node_composit_copy_rlayers(bNodeTree *UNUSED(dest_ntree), bNode *UNU
static void cmp_node_rlayers_update(bNodeTree *ntree, bNode *node)
{
cmp_node_image_verify_outputs(ntree, node, true);
+
+ cmp_node_update_default(ntree, node);
}
void register_node_type_cmp_rlayers(void)