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.

This commit is contained in:
Lukas Toenne 2011-01-16 18:38:54 +00:00
parent c94eefd52b
commit 4f0b7650e9

@ -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);