[Bf-blender-cvs] [70ad18b94d1] master: Fix T77335: Circle Select tool selects faces perpendicular to the view

Germano Cavalcante noreply at git.blender.org
Fri Jun 5 19:55:38 CEST 2020


Commit: 70ad18b94d1f8dde1b6ed746be37c5aa3b67c66b
Author: Germano Cavalcante
Date:   Fri Jun 5 14:49:37 2020 -0300
Branches: master
https://developer.blender.org/rB70ad18b94d1f8dde1b6ed746be37c5aa3b67c66b

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.

===================================================================

M	source/blender/draw/engines/select/select_draw_utils.c

===================================================================

diff --git a/source/blender/draw/engines/select/select_draw_utils.c b/source/blender/draw/engines/select/select_draw_utils.c
index 32bacdfab78..e9930dbdb30 100644
--- a/source/blender/draw/engines/select/select_draw_utils.c
+++ b/source/blender/draw/engines/select/select_draw_utils.c
@@ -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;
 }



More information about the Bf-blender-cvs mailing list