diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-24 17:43:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-24 17:47:27 +0300 |
commit | 46d275b626773d332af5a90c9af50aa6df54e606 (patch) | |
tree | ad5c12a6be78b94e933750f97a86a9700b8c7480 /source/blender/blenkernel | |
parent | 68a9328a5879eeee8ff3286862ba23f7a7bb07c8 (diff) |
Fix DM_get_loop_array, was checking edge-data
Fixes T45728
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index c470b48a9d5..c11d8c32cb8 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -3860,7 +3860,7 @@ MEdge *DM_get_edge_array(DerivedMesh *dm, bool *allocated) MLoop *DM_get_loop_array(DerivedMesh *dm, bool *r_allocated) { - CustomData *loop_data = dm->getEdgeDataLayout(dm); + CustomData *loop_data = dm->getLoopDataLayout(dm); MLoop *mloop = CustomData_get_layer(loop_data, CD_MLOOP); *r_allocated = false; |