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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-27 00:32:22 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-27 00:32:22 +0300
commit63cedd8bd842bdc79bb8f972ab114f2f9958b132 (patch)
tree67043bf08858e55dd48eca2cb3979ebb9d57e398 /source/blender/makesrna
parent5df6f4d2571b65bf126dc6c99db09a3b5e343d0a (diff)
Added some code in sculpt and RNA for textures with type none. Hopefully fixes the problem with sculpt not working in 2.5.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c
index 532b599f786..e2b4506f377 100644
--- a/source/blender/makesrna/intern/rna_texture.c
+++ b/source/blender/makesrna/intern/rna_texture.c
@@ -244,6 +244,7 @@ void RNA_def_texture(BlenderRNA *brna)
PropertyRNA *prop;
static EnumPropertyItem prop_type_items[] = {
+ {0, "NONE", "None", ""},
{TEX_CLOUDS, "CLOUDS", "Clouds", ""},
{TEX_WOOD, "WOOD", "Wood", ""},
{TEX_MARBLE, "MARBLE", "Marble", ""},