Commit: 2c1a386c9aeb717ddb1ac59536308b0f1374f443
Author: Campbell Barton
Date:   Mon Nov 10 09:55:25 2014 +0100
Branches: mesh-transfer-data
https://developer.blender.org/rB2c1a386c9aeb717ddb1ac59536308b0f1374f443

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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to