diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-01-16 21:38:54 +0300 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-01-16 21:38:54 +0300 |
commit | 4f0b7650e97e2d548dad876363e768198675c2f6 (patch) | |
tree | 3b6d44aa4dfaed169f3c8fbb2d6d6284c4e46ac0 /source/blender/makesrna | |
parent | c94eefd52b4174be3b98b3e921546a7a8486d691 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |