diff options
Diffstat (limited to 'source/blender/blenkernel/intern/crazyspace.cc')
-rw-r--r-- | source/blender/blenkernel/intern/crazyspace.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/crazyspace.cc b/source/blender/blenkernel/intern/crazyspace.cc index f83c321c4ae..c1f4cb92d32 100644 --- a/source/blender/blenkernel/intern/crazyspace.cc +++ b/source/blender/blenkernel/intern/crazyspace.cc @@ -188,7 +188,7 @@ void BKE_crazyspace_set_quats_mesh(Mesh *me, BLI_bitmap *vert_tag = BLI_BITMAP_NEW(me->totvert, __func__); /* first store two sets of tangent vectors in vertices, we derive it just from the face-edges */ - const Span<MVert> verts = me->verts(); + const Span<float3> positions = me->positions(); const Span<MPoly> polys = me->polys(); const Span<MLoop> loops = me->loops(); @@ -214,9 +214,9 @@ void BKE_crazyspace_set_quats_mesh(Mesh *me, co_next = origcos[ml_next->v]; } else { - co_prev = verts[ml_prev->v].co; - co_curr = verts[ml_curr->v].co; - co_next = verts[ml_next->v].co; + co_prev = positions[ml_prev->v]; + co_curr = positions[ml_curr->v]; + co_next = positions[ml_next->v]; } set_crazy_vertex_quat( |