diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-01 23:41:39 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-01 23:41:39 +0300 |
commit | b693662ba6d3e57f1f0a26aad86e734c31706a0e (patch) | |
tree | cafc38bb1a10dcdfeb6c98030204e49f54a4406a /source/blender/blenkernel | |
parent | a0ee7bf7a950c33d216c7f0e2a696eec61e2996b (diff) |
Removed a initialize check for NodeTrees.
Apparently being so scroogish for cpu cycles makes crashes in Linux. I'll
add it on todo for later checks, but I need a windows or linux coder for
it!
For users: it might fix crashes when you have NodeTrees in Libraries.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 7cd917b61b9..11c7166171f 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -214,7 +214,8 @@ void ntreeVerifyTypes(bNodeTree *ntree) { bNode *node; - if((ntree->init & NTREE_TYPE_INIT)==0) + /* commented out, in linux a 2nd initialize on a Scene ntree from a lib crashes... */ +/* if((ntree->init & NTREE_TYPE_INIT)==0) */ ntreeInitTypes(ntree); /* check inputs and outputs, and remove or insert them */ |