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:
authorAntony Riakiotakis <kalast@gmail.com>2014-08-26 21:00:25 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-26 21:00:25 +0400
commitdb844959d18e21e8fbb6f1f3a425b757d0dcb05b (patch)
tree95ed6ec8437fa7fcc000d21b79503489ec8247a6 /source/blender/makesrna/intern/rna_material.c
parentfb3f32760d68134aadb7978922360857f0ecccb7 (diff)
Add operator that deletes a texture paint layer for blender internal.
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r--source/blender/makesrna/intern/rna_material.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 70da4ab0fa0..4031c70a7ef 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -2211,7 +2211,9 @@ static void rna_def_tex_slot(BlenderRNA *brna)
RNA_def_property_string_sdna(prop, NULL, "uvname");
RNA_def_property_ui_text(prop, "UV Map", "Name of UV map");
RNA_def_property_update(prop, NC_GEOM | ND_DATA, "rna_Material_update");
-
+
+ prop = RNA_def_property(srna, "mtex", PROP_POINTER, PROP_NONE);
+ RNA_def_property_struct_type(prop, "MaterialTextureSlot");
}