Bugfix #26443
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user