[Bf-blender-cvs] [c26f46cb952] master: Fix T83497: missing relations update when group node changes

Jacques Lucke noreply at git.blender.org
Thu Jan 7 13:31:25 CET 2021


Commit: c26f46cb9521c4d3603a5502dce0fd8444fbe408
Author: Jacques Lucke
Date:   Thu Jan 7 13:31:17 2021 +0100
Branches: master
https://developer.blender.org/rBc26f46cb9521c4d3603a5502dce0fd8444fbe408

Fix T83497: missing relations update when group node changes

Changing which node group a group node references needs a depsgraph
relations update in some cases.

Differential Revision: https://developer.blender.org/D10018

===================================================================

M	source/blender/makesrna/intern/rna_nodetree.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index b1ecce23732..8072d77059a 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -3245,6 +3245,7 @@ static void rna_NodeGroup_update(Main *bmain, Scene *UNUSED(scene), PointerRNA *
   }
 
   ED_node_tag_update_nodetree(bmain, ntree, node);
+  DEG_relations_tag_update(bmain);
 }
 
 static void rna_NodeGroup_node_tree_set(PointerRNA *ptr,



More information about the Bf-blender-cvs mailing list