Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/mesh/mesh_mirror.c')
-rw-r--r--source/blender/editors/mesh/mesh_mirror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/mesh_mirror.c b/source/blender/editors/mesh/mesh_mirror.c
index ad5a5d362f1..38a518cbd5b 100644
--- a/source/blender/editors/mesh/mesh_mirror.c
+++ b/source/blender/editors/mesh/mesh_mirror.c
@@ -55,9 +55,9 @@ void ED_mesh_mirror_spatial_table_begin(Object *ob, BMEditMesh *em, Mesh *me_eva
}
}
else {
- const MVert *verts = BKE_mesh_verts(me_eval ? me_eval : me);
+ const float(*positions)[3] = BKE_mesh_positions(me_eval ? me_eval : me);
for (int i = 0; i < totvert; i++) {
- BLI_kdtree_3d_insert(MirrKdStore.tree, i, verts[i].co);
+ BLI_kdtree_3d_insert(MirrKdStore.tree, i, positions[i]);
}
}