diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-05-27 21:04:09 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-05-27 21:04:46 +0300 |
commit | d7282537f0165b957efc6b0dc16208906f0202a8 (patch) | |
tree | 27fe0ef36f948ffe6a2fab2311b758eb8f62d412 /source/blender/makesdna/DNA_meshdata_types.h | |
parent | 80d6421f28474eff0ac491d6a873cdaa9c34db5b (diff) |
CD_PROP_COL datalayer
This implements a generic color datalayer and its functions. Based on
D5975.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D7838
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index f48024cd55a..04deecde43e 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -344,6 +344,10 @@ typedef struct MLoopCol { unsigned char r, g, b, a; } MLoopCol; +typedef struct MPropCol { + float col[4]; +} MPropCol; + /** Multi-Resolution loop data. */ typedef struct MDisps { /* Strange bug in SDNA: if disps pointer comes first, it fails to see totdisp */ |