Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 05:57:46 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 05:57:46 +0400
commit22f421a9eea41262ea9a327862afb233c22d98aa (patch)
tree6381e0b9008347c6bfa2a6981998f9e98a067cab /source/blender/makesdna/DNA_material_types.h
parent6dfec894f9ae33ae30a28cd9ab4e7f49c5a4ab48 (diff)
2.5: Texture buttons preview now has an option to display the
texture, the material, or both side by side.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 561638bfd20..fd73d371d87 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -93,7 +93,7 @@ typedef struct Material {
/* for buttons and render*/
char rgbsel, texact, pr_type, use_nodes;
- short pr_back, pr_lamp, pad4, ml_flag; /* ml_flag is for disable base material */
+ short pr_back, pr_lamp, pr_texture, ml_flag; /* ml_flag is for disable base material */
/* shaders */
short diff_shader, spec_shader;
@@ -326,6 +326,12 @@ typedef struct Material {
#define MA_HAIR 10
#define MA_ATMOS 11
+/* pr_texture */
+#define MA_PR_TEXTURE 0
+#define MA_PR_MATERIAL 1
+#define MA_PR_BOTH 2
+
+
/* pr_back */
#define MA_DARK 1