From 4f0b7650e97e2d548dad876363e768198675c2f6 Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Sun, 16 Jan 2011 18:38:54 +0000 Subject: [PATCH] Adding links to groups using the links.new function in RNA wasn't updating the group owntype. This lead to sockets being linked and external at the same time. --- source/blender/makesrna/intern/rna_nodetree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 7184fd05dcf..9d4575b2f43 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -527,6 +527,8 @@ static bNodeLink *rna_NodeTree_link_new(bNodeTree *ntree, ReportList *reports, b NodeTagChanged(ntree, tonode); + nodeVerifyGroup(ntree); /* update group node socket links*/ + ntreeSolveOrder(ntree); WM_main_add_notifier(NC_NODE|NA_EDITED, ntree);