[Bf-blender-cvs] [94e68f4caaf] soc-2020-greasepencil-curve: GPencil: Add resolution parameter to bGPDcurve

Falk David noreply at git.blender.org
Fri Jun 12 11:12:56 CEST 2020


Commit: 94e68f4caaffc48a19187f247acfe905e762d249
Author: Falk David
Date:   Thu Jun 11 17:16:26 2020 +0200
Branches: soc-2020-greasepencil-curve
https://developer.blender.org/rB94e68f4caaffc48a19187f247acfe905e762d249

GPencil: Add resolution parameter to bGPDcurve

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

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 ea19108bbe9..c75e2b472b1 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -175,9 +175,11 @@ typedef struct bGPDcurve {
   int *point_index_array;
   /** Total number of curve points. */
   int tot_curve_points;
+  /** Resolution for curve sampling */
+  int resolution;
   /** General flag. */
   short flag;
-  char _pad[2];
+  char _pad[6];
 } bGPDcurve;
 
 /* bGPDcurve_Flag->flag */



More information about the Bf-blender-cvs mailing list