diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-09 01:08:52 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-09 01:08:52 +0300 |
commit | da0433e01d09331b32b1794adf2676a80eab4133 (patch) | |
tree | 5187dc43f4d267858a5d2091a8f90c3252e982b7 /source/blender/blenkernel/intern/depsgraph.c | |
parent | 2edcd75f9c51d6c21e75aa1d1e564ea1bddd1262 (diff) |
Temporal fix probably... Campbell has crashes in depsgraph, but that case
should not happen. This commit adds a harmless NULL check, but still.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index ce441e26116..4dea396a7e6 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -1541,7 +1541,7 @@ static void flush_update_node(DagNode *node, unsigned int layer, int curtime) node->lasttime= curtime; ob= node->ob; - if(ob->recalc & OB_RECALC) { + if(ob && (ob->recalc & OB_RECALC)) { all_layer= ob->lay; /* got an object node that changes, now check relations */ for(itA = node->child; itA; itA= itA->next) { |