Fix T77335: Circle Select tool selects faces perpendicular to the view

Internally the face dots are being drawn when the Edges option of the
overlay (not the selection mode) is disabled.
This commit is contained in:
Germano Cavalcante 2020-06-05 14:49:37 -03:00
parent b91b90f0dd
commit 70ad18b94d
Notes: blender-bot 2023-02-14 08:45:12 +01:00
Referenced by issue #77335, Circle Select tool selects faces perpendicular to the view.
1 changed files with 0 additions and 4 deletions

View File

@ -92,10 +92,6 @@ static bool check_ob_drawface_dot(short select_mode, const View3D *v3d, eDrawTyp
if (v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_FACE_DOT) {
return true;
}
if ((v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_EDGES) == 0) {
/* Since we can't deduce face selection when edges aren't visible - show dots. */
return true;
}
}
return false;
}