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:
authorCampbell Barton <ideasman42@gmail.com>2010-02-07 15:51:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-07 15:51:47 +0300
commitbb571c67cb2ead3d354e445a3c44604925422ffc (patch)
tree6b08ae7fab1dbe2cbdc82a9f1ae7cc889b03d0c8 /source/blender/makesrna/intern/rna_material.c
parent3238730e3678394ed6ecd3d2ce634f9502400d6e (diff)
mat/lamp/world.textures -> texture_slots
object.materials -> material_slots since neither contain textures or materials directly.
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r--source/blender/makesrna/intern/rna_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 635879ce9ec..ea750e94fba 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1749,7 +1749,7 @@ void rna_def_mtex_common(StructRNA *srna, const char *begin, const char *activeg
PropertyRNA *prop;
/* mtex */
- prop= RNA_def_property(srna, "textures", PROP_COLLECTION, PROP_NONE);
+ prop= RNA_def_property(srna, "texture_slots", PROP_COLLECTION, PROP_NONE);
RNA_def_property_struct_type(prop, structname);
RNA_def_property_collection_funcs(prop, begin, "rna_iterator_array_next", "rna_iterator_array_end", "rna_iterator_array_dereference_get", 0, 0, 0);
RNA_def_property_ui_text(prop, "Textures", "Texture slots defining the mapping and influence of textures.");