Fix T94408: missing sockets after adding node group

This commit is contained in:
Jacques Lucke 2021-12-28 11:21:07 +01:00
parent e28222966b
commit b29e33caa2
Notes: blender-bot 2023-02-13 16:41:11 +01:00
Referenced by issue #94427, Stops working after  bpy.ops.initial.settings() at startup. (apple beachball of death)
Referenced by issue #94408, When append node group from asset browser, all sockets on the node group dissapear.
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ static int node_add_group_exec(bContext *C, wmOperator *op)
group_node->id = &node_group->id;
id_us_plus(group_node->id);
BKE_ntree_update_tag_node_property(snode->edittree, group_node);
nodeSetActive(ntree, group_node);
ED_node_tree_propagate_change(C, bmain, nullptr);