[Bf-blender-cvs] [723f1e9] master: Fix T42486: Array modifier cap-end crash
Campbell Barton
noreply at git.blender.org
Mon Nov 10 09:56:13 CET 2014
Commit: 723f1e950b1db926785a77b5321b79487f1ce7d1
Author: Campbell Barton
Date: Mon Nov 10 09:55:25 2014 +0100
Branches: master
https://developer.blender.org/rB723f1e950b1db926785a77b5321b79487f1ce7d1
Fix T42486: Array modifier cap-end crash
Thanks to @PatB for the fix.
===================================================================
M source/blender/modifiers/intern/MOD_array.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index 40db49a..6046de2 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);
More information about the Bf-blender-cvs
mailing list