Minor edit to edit-mesh selection bias
only choose verts over edges (not faces)
This commit is contained in:
parent
3a3f80673c
commit
84d117b3ad
@ -823,7 +823,9 @@ static int unified_findnearest(ViewContext *vc, BMVert **r_eve, BMEdge **r_eed,
|
||||
|
||||
if ((dist > 0.0f) && (em->selectmode & SCE_SELECT_EDGE)) {
|
||||
eed = EDBM_edge_find_nearest_ex(vc, &dist, true, use_cycle);
|
||||
dist = min_ff(dist + dist_bias, dist_init);
|
||||
if (eed) {
|
||||
dist = min_ff(dist + dist_bias, dist_init);
|
||||
}
|
||||
}
|
||||
|
||||
if ((dist > 0.0f) && em->selectmode & SCE_SELECT_VERTEX) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user