diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-10 11:55:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-10 11:55:25 +0300 |
commit | 723f1e950b1db926785a77b5321b79487f1ce7d1 (patch) | |
tree | 518910d22b94e0d7e779e141746fc4d765690152 /source/blender/modifiers | |
parent | 6c5e2ac7e666e6fac5b831a16c337eabbd88f4f6 (diff) |
Fix T42486: Array modifier cap-end crash
Thanks to @PatB for the fix.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |