workaround for depsgraph update issue with booleans.
This commit is contained in:
parent
6b3b7465b6
commit
7f1a76887f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue