[Bf-blender-cvs] [4457c92fa30] master: GPencil: Fix missing variable due typo error

Antonio Vazquez noreply at git.blender.org
Thu Aug 22 18:28:23 CEST 2019


Commit: 4457c92fa304509343135c88adc8a3fb3834d087
Author: Antonio Vazquez
Date:   Thu Aug 22 18:28:00 2019 +0200
Branches: master
https://developer.blender.org/rB4457c92fa304509343135c88adc8a3fb3834d087

GPencil: Fix missing variable due typo error

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

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 4c185b7fb8a..71ccf740153 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -76,7 +76,7 @@ static int gpencil_select_mode_from_sculpt(eGP_Sculpt_SelectMaskFlag mode)
   else if (mode & GP_SCULPT_MASK_SELECTMODE_STROKE) {
     return GP_SELECTMODE_STROKE;
   }
-  else if (GP_SCULPT_MASK_SELECTMODE_SEGMENT) {
+  else if (mode & GP_SCULPT_MASK_SELECTMODE_SEGMENT) {
     return GP_SELECTMODE_SEGMENT;
   }
   else {



More information about the Bf-blender-cvs mailing list