Node compositor crash:
When you very quickly unlink a socket *right* after connecting it
(within 0.1 second), the compositor started with a noodle without
valid connections, which was not foreseen to happen.
This commit is contained in:
2011-03-10 18:17:20 +00:00
parent 9a622f18ac
commit efc697b481

View File

@@ -2333,7 +2333,7 @@ void ntreeBeginExecTree(bNodeTree *ntree)
ns->hasoutput = 1;
/* sock type is needed to detect rgba or value or vector types */
if(sock->link)
if(sock->link && sock->link->fromsock)
ns->sockettype= sock->link->fromsock->type;
else
sock->ns.sockettype= sock->type;