Fix T56347: Driven values not supported in node groups.
Need to rebuild dependency graph when we add or remove nodes from a tree...
This commit is contained in:
parent
613523d5f5
commit
a9ecfc9653
Notes:
blender-bot
2023-02-14 07:18:54 +01:00
Referenced by issue #56347, Driven values not supported in node groups
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue