Fix #116144: Tag update relations for Active Camera node #116152

Merged
Hans Goudey merged 1 commits from mod_moder/blender:tmp_fix_active_cam_node into main 2023-12-13 16:24:35 +01:00
1 changed files with 5 additions and 1 deletions

View File

@ -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));
}