[Bf-blender-cvs] [7df5a41d2bb] soc-2020-greasepencil-curve: GPencil: FIx flag GP_STROKE_CURVE_MODE
Falk David
noreply at git.blender.org
Tue Jun 9 18:05:31 CEST 2020
Commit: 7df5a41d2bbfe2d23cb5f670456028fc6e7d86bb
Author: Falk David
Date: Tue Jun 9 15:40:38 2020 +0200
Branches: soc-2020-greasepencil-curve
https://developer.blender.org/rB7df5a41d2bbfe2d23cb5f670456028fc6e7d86bb
GPencil: FIx flag GP_STROKE_CURVE_MODE
The flag was set to 2^11 and it was 2^16 before. The type of the flag is short, so it was
never actually beeing set.
===================================================================
M source/blender/makesdna/DNA_gpencil_types.h
===================================================================
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h
index 4ca060a39a9..0f0fe00107a 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -288,6 +288,8 @@ typedef enum eGPDstroke_Flag {
/* Flag used to indicate that stroke is used for fill close and must use
* fill color for stroke and no fill area */
GP_STROKE_NOFILL = (1 << 8),
+ /* Stroke is actually using curve edition */
+ GP_STROKE_CURVE_MODE = (1 << 11),
/* only for use with stroke-buffer (while drawing arrows) */
GP_STROKE_USE_ARROW_START = (1 << 12),
/* only for use with stroke-buffer (while drawing arrows) */
@@ -296,8 +298,6 @@ typedef enum eGPDstroke_Flag {
GP_STROKE_TAG = (1 << 14),
/* only for use with stroke-buffer (while drawing eraser) */
GP_STROKE_ERASER = (1 << 15),
- /* Stroke is actually using curve edition */
- GP_STROKE_CURVE_MODE = (1 << 16),
} eGPDstroke_Flag;
/* bGPDstroke->caps */
More information about the Bf-blender-cvs
mailing list