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>2011-02-16 21:04:03 +0300
committerTon Roosendaal <ton@blender.org>2011-02-16 21:04:03 +0300
commit9d168f733719c3abeba245a92cb37530db2a98f4 (patch)
tree80c84aba556fa6b9ad030acdfd992e30a2215c16 /source/blender/makesrna/intern/rna_material.c
parentaed7eaf0d9171c4bfa7814e141afad773cb31441 (diff)
Bugfix #26096
Switching layers reveiled hidden objects in wrong positions, changes are currently not being handled for hidden objects. Only way to fix it is by completely update newly visible objects... (Also fixed a typo and a compile warning)
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 3d9eaa0b141..0c7a300d942 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1875,7 +1875,7 @@ static void rna_def_texture_slots(BlenderRNA *brna, PropertyRNA *cprop, const ch
func= RNA_def_function(srna, "clear", "rna_mtex_texture_slots_clear");
RNA_def_function_flag(func, FUNC_USE_SELF_ID|FUNC_NO_SELF|FUNC_USE_CONTEXT|FUNC_USE_REPORTS);
- parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "Index", "Slot index to clar.", 0, INT_MAX);
+ parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "Index", "Slot index to clear.", 0, INT_MAX);
RNA_def_property_flag(parm, PROP_REQUIRED);
}