diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-04 17:14:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-04 17:15:23 +0300 |
commit | 3b3e6127520de14e2cf92f371281f66ebcec3756 (patch) | |
tree | bfc72e8dda651f793545d01ae206ec14567eaff5 /source/blender/editors/space_view3d/drawobject.c | |
parent | 6a6aeaac7d32245aa17ba8c0f2a3886c329cb111 (diff) | |
parent | 0f8228a890c3b0906d88e34ac75d0246a65dfe55 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 3e7e617bd0e..b06c0031e71 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -9772,9 +9772,11 @@ void draw_object_backbufsel( ED_view3d_polygon_offset(rv3d, 1.0); - /* we draw edges always, for loop (select) tools */ - bbs_mesh_wire(em, dm, bm_solidoffs); - bm_wireoffs = bm_solidoffs + em->bm->totedge; + /* we draw edges if edge select mode */ + if (ts->selectmode & SCE_SELECT_EDGE) { + bbs_mesh_wire(em, dm, bm_solidoffs); + bm_wireoffs = bm_solidoffs + em->bm->totedge; + } /* we draw verts if vert select mode. */ if (ts->selectmode & SCE_SELECT_VERTEX) { |