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:
authorDalai Felinto <dfelinto@gmail.com>2011-06-26 13:10:54 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-06-26 13:10:54 +0400
commit913738a0429b2a11329260ee1f4e479b4a5af2cb (patch)
tree2388c7c9d6e24135b458ac185cb1a74ec4026cdd /source/blender/makesrna/intern/rna_ID.c
parent3de7a67562d2db9beb124bf9da3128c8565423cc (diff)
Fix in texts for Mesh.materials.pop()
found by accident while studying how to append materials from python ;)
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r--source/blender/makesrna/intern/rna_ID.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c
index 174cf95e755..3877e1f9555 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -415,10 +415,10 @@ static void rna_def_ID_materials(BlenderRNA *brna)
RNA_def_property_flag(parm, PROP_REQUIRED);
func= RNA_def_function(srna, "pop", "material_pop_id");
- RNA_def_function_ui_description(func, "Add a new material to Mesh.");
- parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "", "Frame number to set.", 0, INT_MAX);
+ RNA_def_function_ui_description(func, "Remove a material from Mesh.");
+ parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "", "Index of material to remove.", 0, INT_MAX);
RNA_def_property_flag(parm, PROP_REQUIRED);
- parm= RNA_def_pointer(func, "material", "Material", "", "Material to add.");
+ parm= RNA_def_pointer(func, "material", "Material", "", "Material to remove.");
RNA_def_function_return(func, parm);
}