diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-23 16:19:08 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-23 16:20:41 +0300 |
commit | a9ecfc965349241b858b1b23d0a3d9b987600b5d (patch) | |
tree | 1698ccb260bf4e7959709ea2cc8dae64f820ff3f /source/blender/editors/space_node | |
parent | 613523d5f5f501c899364ff6de16b426d6f19741 (diff) |
Fix T56347: Driven values not supported in node groups.
Need to rebuild dependency graph when we add or remove nodes from a tree...
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_group.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |