Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-08-22 19:28:00 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-08-22 19:28:19 +0300
commit4457c92fa304509343135c88adc8a3fb3834d087 (patch)
tree63621f908482c0dc1be2c9b7d8849386c9776bb2 /source/blender/editors/gpencil/gpencil_select.c
parent5888a2283e0b47f2a8991d2548eb8e4d4c156dea (diff)
GPencil: Fix missing variable due typo error
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_select.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_select.c2
1 files changed, 1 insertions, 1 deletions
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 {