[Bf-blender-cvs] [947d9e3b55b] temp-gpencil-bezier-stroke-type: GPencil: Remove update flags for stroke and curve

Falk David noreply at git.blender.org
Tue Apr 13 15:35:13 CEST 2021


Commit: 947d9e3b55b907e7582f6e789cd30bba8d284a00
Author: Falk David
Date:   Tue Apr 13 15:34:36 2021 +0200
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rB947d9e3b55b907e7582f6e789cd30bba8d284a00

GPencil: Remove update flags for stroke and curve

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

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 619d6fc904a..f11f65d6a71 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -241,8 +241,7 @@ typedef struct bGPDcurve {
 
 /* bGPDcurve_Flag->flag */
 typedef enum bGPDcurve_Flag {
-  /* Flag to indicated that the stroke data has been changed and the curve needs to be refitted */
-  GP_CURVE_NEEDS_STROKE_UPDATE = (1 << 0),
+  /* GP_CURVE_NEEDS_STROKE_UPDATE = (1 << 0), */ /* Deprecated */
   /* Curve is selected */
   GP_CURVE_SELECT = (1 << 1),
 } bGPDcurve_Flag;
@@ -353,9 +352,6 @@ 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),
-  /* Flag to indicated that the editcurve has been changed and the stroke needs to be updated with
-   * the curve data */
-  GP_STROKE_NEEDS_CURVE_UPDATE = (1 << 9),
   /* 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) */



More information about the Bf-blender-cvs mailing list