Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_boolean.c
| Context not available. | |||||
| #include "BLF_translation.h" | #include "BLF_translation.h" | ||||
| #include "BKE_DerivedMesh.h" | |||||
| #include "BKE_cdderivedmesh.h" | #include "BKE_cdderivedmesh.h" | ||||
| #include "BKE_modifier.h" | #include "BKE_modifier.h" | ||||
| Context not available. | |||||
| if (!bmd->object) | if (!bmd->object) | ||||
| return derivedData; | return derivedData; | ||||
| dm = get_dm_for_modifier(bmd->object, flag); | dm = get_dm_for_modifier(md->scene, bmd->object, flag); | ||||
| if (dm) { | if (dm) { | ||||
| DerivedMesh *result; | DerivedMesh *result; | ||||
| Context not available. | |||||
| // TIMEIT_END(NewBooleanDerivedMesh) | // TIMEIT_END(NewBooleanDerivedMesh) | ||||
| } | } | ||||
| dm->release(dm); | |||||
| /* if new mesh returned, return it; otherwise there was | /* if new mesh returned, return it; otherwise there was | ||||
| * an error, so delete the modifier object */ | * an error, so delete the modifier object */ | ||||
| if (result) | if (result) | ||||
| Context not available. | |||||