From 24330f679e39f83cbbe4b85625b08d933ff4a14e Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Mon, 24 Sep 2018 11:40:00 +0200 Subject: 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. --- source/blender/nodes/composite/nodes/node_composite_image.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/nodes') 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) -- cgit v1.2.3