diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 01:28:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 01:28:12 +0300 |
commit | cb957fd8e0e2e0d0dbbebc3e7e3fcc5bfa8b51a8 (patch) | |
tree | 0c0ac2c123dc23a00d8ea1b44a3de894225fba37 /source/blender/makesdna | |
parent | 465b6333ccb5b56ced54ca342c60086c60ab21db (diff) |
Cleanup: replace gpencil tri vars w/ array
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 8 |
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) */ |