Fix #116144: Tag update relations for Active Camera node #116152
|
@ -2432,7 +2432,11 @@ bNode *nodeAddNode(const bContext *C, bNodeTree *ntree, const char *idname)
|
|||
|
||||
BKE_ntree_update_tag_node_new(ntree, node);
|
||||
|
||||
if (ELEM(node->type, GEO_NODE_INPUT_SCENE_TIME, GEO_NODE_SELF_OBJECT, GEO_NODE_SIMULATION_INPUT))
|
||||
if (ELEM(node->type,
|
||||
GEO_NODE_INPUT_SCENE_TIME,
|
||||
GEO_NODE_INPUT_ACTIVE_CAMERA,
|
||||
GEO_NODE_SELF_OBJECT,
|
||||
GEO_NODE_SIMULATION_INPUT))
|
||||
{
|
||||
DEG_relations_tag_update(CTX_data_main(C));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue