From a9ecfc965349241b858b1b23d0a3d9b987600b5d Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 23 Aug 2018 15:19:08 +0200 Subject: Fix T56347: Driven values not supported in node groups. Need to rebuild dependency graph when we add or remove nodes from a tree... --- source/blender/editors/space_node/node_group.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_node') diff --git a/source/blender/editors/space_node/node_group.c b/source/blender/editors/space_node/node_group.c index a3294211ff9..4012cfdaebc 100644 --- a/source/blender/editors/space_node/node_group.c +++ b/source/blender/editors/space_node/node_group.c @@ -50,6 +50,8 @@ #include "BKE_main.h" #include "BKE_report.h" +#include "DEG_depsgraph_build.h" + #include "ED_node.h" /* own include */ #include "ED_screen.h" #include "ED_render.h" @@ -961,6 +963,7 @@ static int node_group_make_exec(bContext *C, wmOperator *op) snode_notify(C, snode); snode_dag_update(C, snode); + DEG_relations_tag_update(bmain); /* We broke relations in node tree, need to rebuild them in the grahes. */ return OPERATOR_FINISHED; } -- cgit v1.2.3