diff options
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 211257597cb..ec6cbeb43bf 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -280,7 +280,7 @@ static bool check_tree_for_time_node(const bNodeTree &tree, } if (node->type == NODE_GROUP) { const bNodeTree *sub_tree = reinterpret_cast<const bNodeTree *>(node->id); - if (check_tree_for_time_node(*sub_tree, r_checked_trees)) { + if (sub_tree && check_tree_for_time_node(*sub_tree, r_checked_trees)) { return true; } } |