Fix (unreported) Crash in Array modifier.
Typo (copy/paste mistake) in rB923b28aab85768e2b.
This commit is contained in:
parent
ceaa787e42
commit
2ba72d847b
Notes:
blender-bot
2023-02-14 06:45:14 +01:00
Referenced by issue #96241, 3.1: Potential candidates for corrective releases
|
@ -412,7 +412,7 @@ static Mesh *arrayModifier_doArray(ArrayModifierData *amd,
|
|||
}
|
||||
Object *end_cap_ob = amd->end_cap;
|
||||
if (end_cap_ob && end_cap_ob != ctx->object) {
|
||||
if (start_cap_ob->type == OB_MESH && ctx->object->type == OB_MESH) {
|
||||
if (end_cap_ob->type == OB_MESH && ctx->object->type == OB_MESH) {
|
||||
vgroup_end_cap_remap = BKE_object_defgroup_index_map_create(
|
||||
end_cap_ob, ctx->object, &vgroup_end_cap_remap_len);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue