[Bf-blender-cvs] [568c4b82093] greasepencil-object: GPencil: Fix error selecting with Box and Lasso
Antonio Vazquez
noreply at git.blender.org
Fri Mar 27 11:12:17 CET 2020
Commit: 568c4b8209358806235618b238aa162db5da8301
Author: Antonio Vazquez
Date: Fri Mar 27 11:09:02 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rB568c4b8209358806235618b238aa162db5da8301
GPencil: Fix error selecting with Box and Lasso
===================================================================
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 afa331a4890..a355d169573 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -1258,7 +1258,7 @@ static int gpencil_generic_select_exec(
/* If nothing hit, check if the mouse is inside a filled stroke using the center or
* Box or lasso area. */
- if (!hit) {
+ if ((!hit) && (!changed)) {
/* Only check filled strokes. */
MaterialGPencilStyle *gp_style = BKE_gpencil_material_settings(ob, gps->mat_nr + 1);
if ((gp_style->flag & GP_MATERIAL_FILL_SHOW) == 0) {
More information about the Bf-blender-cvs
mailing list