[Bf-blender-cvs] [821d389da41] temp-T96709-painting-target: TexPaintSlot comments.

Jeroen Bakker noreply at git.blender.org
Wed Mar 30 08:19:31 CEST 2022


Commit: 821d389da419f7c5d6e16d3a801b058b211be04f
Author: Jeroen Bakker
Date:   Wed Mar 30 08:19:25 2022 +0200
Branches: temp-T96709-painting-target
https://developer.blender.org/rB821d389da419f7c5d6e16d3a801b058b211be04f

TexPaintSlot comments.

===================================================================

M	source/blender/makesdna/DNA_material_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 867e95bdf7c..d20a2e86a5e 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -27,11 +27,11 @@ 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;
-  /** Color attribute name when painting using color attributes. */
+  /** Color attribute name when painting using color attributes. Mutual exclusive with ima. */
   char *attribute_name;
   /** Do we have a valid image and UV map or attribute. */
   int valid;



More information about the Bf-blender-cvs mailing list