From d7282537f0165b957efc6b0dc16208906f0202a8 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 27 May 2020 20:04:09 +0200 Subject: 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 --- source/blender/makesdna/DNA_meshdata_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesdna/DNA_meshdata_types.h') 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 */ -- cgit v1.2.3