diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2016-05-09 08:26:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-09 08:46:34 +0300 |
commit | 69be8d7cbd3b4fea45ffb5db6d1cbd83e8d8e4d0 (patch) | |
tree | 55c7fd8e73325519b1e11945f7c89e12e491fbeb /source | |
parent | 73fab5bb3f06eeea3e0d43e4e0dc8df68e79daf8 (diff) |
Fix error in recent snap refactor
Crash in edge snapping
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 754061c7a8a..dd7b4dfe78c 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -1014,7 +1014,7 @@ static bool snapEditMesh( case SCE_SNAP_MODE_EDGE: { BM_mesh_elem_table_ensure(em->bm, BM_EDGE); - int totedge = em->bm->totvert; + int totedge = em->bm->totedge; for (int i = 0; i < totedge; i++) { BMEdge *eed = BM_edge_at_index(em->bm, i); |