diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-11 08:34:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-11 08:34:19 +0400 |
commit | 57dba739176153e052d77611ff0e554f05984686 (patch) | |
tree | 317fc95876975a9743d6da1eb44513ed8bd2237d /source/blender/editors/mesh/editmesh_loopcut.c | |
parent | 23fbc9f22f3dfd7151c4396a17fbe586b0594d81 (diff) |
View3d: take pixelsize into account for selection distance
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_loopcut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c index bc4281904b8..9a02a9761b0 100644 --- a/source/blender/editors/mesh/editmesh_loopcut.c +++ b/source/blender/editors/mesh/editmesh_loopcut.c @@ -440,7 +440,7 @@ static void loopcut_update_edge(RingSelOpData *lcd, BMEdge *e, const int preview static void loopcut_mouse_move(RingSelOpData *lcd, const int previewlines) { - float dist = 75.0f; + float dist = ED_view3d_select_dist_px(); BMEdge *e = EDBM_edge_find_nearest(&lcd->vc, &dist); loopcut_update_edge(lcd, e, previewlines); } |