diff options
author | Bastien Montagne <bastien@blender.org> | 2022-03-22 13:25:54 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-03-23 19:51:58 +0300 |
commit | 46585a49003c53f1d3de16563c3476868fd9dac9 (patch) | |
tree | 484e2256579c63ec1dad4a0526742841878d53d3 | |
parent | c9290d23ca52a1d5986c21b3f947b7dd2e2de4b1 (diff) |
Fix (unreported) Crash in Array modifier.
Typo (copy/paste mistake) in rB923b28aab85768e2b.
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index df02cc33507..abde2a48561 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -427,7 +427,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); } |