Adding links to groups using the links.new function in RNA wasn't updating the group...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sun, 16 Jan 2011 18:38:54 +0000 (18:38 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sun, 16 Jan 2011 18:38:54 +0000 (18:38 +0000)
source/blender/makesrna/intern/rna_nodetree.c

index 7184fd05dcf2929455cb71ba86f86acd634e4912..9d4575b2f43fca618b743ce02983877d1edf96b9 100644 (file)
@@ -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);