From 723f1e950b1db926785a77b5321b79487f1ce7d1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 10 Nov 2014 09:55:25 +0100 Subject: Fix T42486: Array modifier cap-end crash Thanks to @PatB for the fix. --- source/blender/modifiers/intern/MOD_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 40db49afef2..6046de2cf61 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -323,8 +323,8 @@ static void dm_merge_transform( /* needed for subsurf so arrays are allocated */ cap_dm->getVertArray(cap_dm); cap_dm->getEdgeArray(cap_dm); - cap_dm->getNumLoops(cap_dm); - cap_dm->getNumPolys(cap_dm); + cap_dm->getLoopArray(cap_dm); + cap_dm->getPolyArray(cap_dm); DM_copy_vert_data(cap_dm, result, 0, cap_verts_index, cap_nverts); DM_copy_edge_data(cap_dm, result, 0, cap_edges_index, cap_nedges); -- cgit v1.2.3