[Bf-blender-cvs] [ba1261766c1] temp-gpencil-bezier-stroke-type: GPencil: Fix compiler error with Enum

Antonio Vazquez noreply at git.blender.org
Tue Apr 13 15:58:32 CEST 2021


Commit: ba1261766c16379549bb30f679afbeecc306a029
Author: Antonio Vazquez
Date:   Tue Apr 13 15:58:28 2021 +0200
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rBba1261766c16379549bb30f679afbeecc306a029

GPencil: Fix compiler error with Enum

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

M	source/blender/blenkernel/BKE_gpencil_curve.h

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

diff --git a/source/blender/blenkernel/BKE_gpencil_curve.h b/source/blender/blenkernel/BKE_gpencil_curve.h
index 15471286094..1b43fdfdb3c 100644
--- a/source/blender/blenkernel/BKE_gpencil_curve.h
+++ b/source/blender/blenkernel/BKE_gpencil_curve.h
@@ -36,6 +36,7 @@ struct bGPDstroke;
 struct bGPDcurve;
 struct bGPDcurve_point;
 struct bGPdata;
+enum eGPStrokeGeoUpdateFlag;
 
 void BKE_gpencil_convert_curve(struct Main *bmain,
                                struct Scene *scene,
@@ -68,7 +69,7 @@ void BKE_gpencil_stroke_editcurve_sync_selection(struct bGPdata *gpd,
 void BKE_gpencil_stroke_update_geometry_from_editcurve(struct bGPDstroke *gps,
                                                        const uint resolution,
                                                        const bool is_adaptive,
-                                                       const eGPStrokeGeoUpdateFlag flag);
+                                                       const enum eGPStrokeGeoUpdateFlag flag);
 void BKE_gpencil_editcurve_recalculate_handles(struct bGPDstroke *gps);
 void BKE_gpencil_editcurve_subdivide(struct bGPDstroke *gps, const int cuts);
 void BKE_gpencil_editcurve_simplify_adaptive(struct bGPDstroke *gps, const float threshold);



More information about the Bf-blender-cvs mailing list