workaround for depsgraph update issue with booleans.

This commit is contained in:
Campbell Barton 2012-07-26 17:14:23 +00:00
parent 6b3b7465b6
commit 7f1a76887f
1 changed files with 10 additions and 1 deletions

View File

@ -127,7 +127,16 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
if (!bmd->object)
return derivedData;
dm = bmd->object->derivedFinal;
/* 2.64 used this... */
/* dm = bmd->object->derivedFinal; */
/* but we want to make sure we can get the object
* in some cases the depsgraph fails us - especially for objects
* in other scenes when compositing */
if (bmd->object != ob) {
dm = mesh_get_derived_final(md->scene, bmd->object, CD_MASK_MESH);
}
if (dm) {
DerivedMesh *result;