[Bf-blender-cvs] [4cab8c06f89] greasepencil-object: GPencil: Fix error in Circle select for Vertex Paint

Antonio Vazquez noreply at git.blender.org
Fri Nov 8 11:46:25 CET 2019


Commit: 4cab8c06f89353777c69328832d164f33cdd61be
Author: Antonio Vazquez
Date:   Fri Nov 8 11:21:39 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB4cab8c06f89353777c69328832d164f33cdd61be

GPencil: Fix error in Circle select for Vertex Paint

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

M	source/blender/editors/gpencil/gpencil_select.c

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

diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c
index c7d36c992fd..2fe54af6750 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -1013,7 +1013,7 @@ static int gpencil_circle_select_exec(bContext *C, wmOperator *op)
   const float scale = ts->gp_sculpt.isect_threshold;
 
   /* if not edit/sculpt mode, the event is catched but not processed */
-  if ((GPENCIL_NONE_EDIT_MODE(gpd)) && (GPENCIL_VERTEX_MODE(gpd))) {
+  if ((GPENCIL_NONE_EDIT_MODE(gpd)) && (!GPENCIL_VERTEX_MODE(gpd))) {
     return OPERATOR_CANCELLED;
   }



More information about the Bf-blender-cvs mailing list