Temporal fix probably... Campbell has crashes in depsgraph, but that case

should not happen. This commit adds a harmless NULL check, but still.
This commit is contained in:
Ton Roosendaal
2006-12-08 22:08:52 +00:00
parent 2edcd75f9c
commit da0433e01d

View File

@@ -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) {