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:
authorTon Roosendaal <ton@blender.org>2006-06-14 22:04:26 +0400
committerTon Roosendaal <ton@blender.org>2006-06-14 22:04:26 +0400
commitc0c7c4ba143cea1e951a6e49be69736c86ef52b6 (patch)
tree435552b28a186774f55dab8a172d1c97a921597c /source/blender/makesdna/DNA_material_types.h
parent6388715b438611a43b87e9542c43387fc9b5b9d9 (diff)
Fixes for preview render in buttons:
- restored type choice compatiblity (plane, sphere, cube) with 2.41 release (sorry, will break saved files with CVS... my fault, should have known.) - removed lamp choices (lights now are different per preview, no fixed choices). - added checkered plane behind the plane preview. nicer for halos.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 19804d27373..e67829a5b35 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -245,9 +245,9 @@ typedef struct Material {
#define MAP_LAYER 16384
/* pr_type */
-#define MA_SPHERE 0
-#define MA_CUBE 1
-#define MA_FLAT 2
+#define MA_FLAT 0
+#define MA_SPHERE 1
+#define MA_CUBE 2
#define MA_MONKEY 3
#define MA_SPHERE_A 4
#define MA_TEXTURE 5