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:
authorCampbell Barton <ideasman42@gmail.com>2017-10-20 01:28:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-20 01:28:12 +0300
commitcb957fd8e0e2e0d0dbbebc3e7e3fcc5bfa8b51a8 (patch)
tree0c0ac2c123dc23a00d8ea1b44a3de894225fba37 /source/blender/makesdna/DNA_gpencil_types.h
parent465b6333ccb5b56ced54ca342c60086c60ab21db (diff)
Cleanup: replace gpencil tri vars w/ array
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_types.h')
-rw-r--r--source/blender/makesdna/DNA_gpencil_types.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h
index 0364d855f69..a62538d1032 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -60,11 +60,13 @@ typedef enum eGPDspoint_Flag {
} eGPSPoint_Flag;
/* Grease-Pencil Annotations - 'Triangle'
- * -> A triangle contains the index of three vertices for filling the stroke
- * This is only used if high quality fill is enabled
+ * A triangle contains the index of three vertices for filling the stroke
+ * This is only used if high quality fill is enabled.
+ * (not saved to blend file).
*/
typedef struct bGPDtriangle {
- int v1, v2, v3; /* indices for tesselated triangle used for GP Fill */
+ /* indices for tesselated triangle used for GP Fill */
+ unsigned int verts[3];
} bGPDtriangle;
/* GP brush (used for new strokes) */