Fix #116144: Tag update relations for Active Camera node
Missed part of 75f160ee96
Pull Request: https://projects.blender.org/blender/blender/pulls/116152
This commit is contained in:
committed by
Hans Goudey
parent
96dff1d3ce
commit
51bb3247b4
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user