workaround for crash when dragging nodes
This commit is contained in:
@@ -1662,7 +1662,8 @@ void ntreeSocketUseFlags(bNodeTree *ntree)
|
||||
/* tag all thats in use */
|
||||
for(link= ntree->links.first; link; link= link->next) {
|
||||
link->fromsock->flag |= SOCK_IN_USE;
|
||||
link->tosock->flag |= SOCK_IN_USE;
|
||||
if(link->tosock) // FIXME This can be NULL, when dragging a new link in the UI, should probably copy the node tree for preview render - campbell
|
||||
link->tosock->flag |= SOCK_IN_USE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user