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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user