diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-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 9ff7f1f2982..3d49548cba7 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -114,7 +114,8 @@ void ntreeInitTypes(bNodeTree *ntree) } } node->typeinfo= stype; - node->typeinfo->initfunc(node); + if(node->typeinfo) + node->typeinfo->initfunc(node); } else { node->typeinfo= node_get_type(ntree, node->type, (bNodeTree *)node->id, NULL); } |