diff options
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index e83e68a091b..b535d3cdb8a 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -27,11 +27,16 @@ struct bNodeTree; /* WATCH IT: change type? also make changes in ipo.h */ typedef struct TexPaintSlot { - /** Image to be painted on. */ + /** Image to be painted on. Mutual exclusive with attribute_name. */ struct Image *ima; /** Custom-data index for uv layer, #MAX_NAME. */ char *uvname; - /** Do we have a valid image and UV map. */ + /** + * Color attribute name when painting using color attributes. Mutual exclusive with ima. + * Points to the name of a CustomDataLayer. + */ + char *attribute_name; + /** Do we have a valid image and UV map or attribute. */ int valid; /** Copy of node interpolation setting. */ int interp; |