Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_boolean.c
| Context not available. | |||||
| const short ob_src_totcol = other->totcol; | const short ob_src_totcol = other->totcol; | ||||
| short *material_remap = BLI_array_alloca(material_remap, ob_src_totcol ? ob_src_totcol : 1); | short *material_remap = BLI_array_alloca(material_remap, ob_src_totcol ? ob_src_totcol : 1); | ||||
| /* Using original (not evaluated) object here since we are writing to it. */ | |||||
| /* XXX Pretty sure comment above is fully wrong now with CoW & co ? */ | |||||
| BKE_material_remap_object_calc(ctx->object, other, material_remap); | BKE_material_remap_object_calc(ctx->object, other, material_remap); | ||||
| BMFace *efa; | BMFace *efa; | ||||
| Context not available. | |||||