diff options
author | Bastien Montagne <bastien@blender.org> | 2022-03-22 13:25:54 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-03-22 13:25:54 +0300 |
commit | 2ba72d847b241c793988a389521cc37c8e070cb7 (patch) | |
tree | a583370e48546ee5c7e2ed1e24a6bf836044a513 /source/blender/modifiers | |
parent | ceaa787e425afab55cad51d40a62bff7f4fd9a07 (diff) |
Fix (unreported) Crash in Array modifier.
Typo (copy/paste mistake) in rB923b28aab85768e2b.
Diffstat (limited to 'source/blender/modifiers')
-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 4b2dfd7d493..b237f952287 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -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); } |