Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-03-10 21:17:20 +0300
committerTon Roosendaal <ton@blender.org>2011-03-10 21:17:20 +0300
commitefc697b481d19a957b1a302c8ed92ad3e6c85142 (patch)
tree89cfb3bfae95684f56891683e574264aceca2b76 /source
parent9a622f18ac5b8a58597fd2b02472d95cb6262c55 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c
index 6f7963f4765..ccb38ca7ce1 100644
--- a/source/blender/blenkernel/intern/node.c
+++ b/source/blender/blenkernel/intern/node.c
@@ -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;