Fix crash on baking pointcache reported by nudel

This commit is contained in:
Daniel Genrich
2008-07-27 16:27:59 +00:00
parent 7762ef9574
commit 1a370eaafc

View File

@@ -166,11 +166,13 @@ void BKE_ptcache_ids_from_object(ListBase *lb, Object *ob)
BKE_ptcache_id_from_cloth(pid, ob, (ClothModifierData*)md);
BLI_addtail(lb, pid);
}
/*
else if(md->type == eModifierType_Fluidsim) {
pid= MEM_callocN(sizeof(PTCacheID), "PTCacheID");
BKE_ptcache_id_from_fluidsim(pid, ob, (FluidsimModifierData*)md);
BLI_addtail(lb, pid);
}
*/
}
}