Commit: 23e3b9f35bef214d3bdf3477d14343f29e4cf672
Author: Aaron Carlisle
Date:   Tue Aug 30 22:05:27 2016 +0200
Branches: master
https://developer.blender.org/rB23e3b9f35bef214d3bdf3477d14343f29e4cf672

Correct render pass identifier usage in toolitps

===================================================================

M       source/blender/makesrna/intern/rna_material.c
M       source/blender/makesrna/intern/rna_object.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_material.c 
b/source/blender/makesrna/intern/rna_material.c
index e4f9f85..2a8cc07 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1889,7 +1889,7 @@ void RNA_def_material(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "pass_index", PROP_INT, PROP_UNSIGNED);
        RNA_def_property_int_sdna(prop, NULL, "index");
-       RNA_def_property_ui_text(prop, "Pass Index", "Index number for the 
IndexMA render pass");
+       RNA_def_property_ui_text(prop, "Pass Index", "Index number for the 
\"Material Index\" render pass");
        RNA_def_property_update(prop, NC_OBJECT, "rna_Material_update");
 
        /* flags */
diff --git a/source/blender/makesrna/intern/rna_object.c 
b/source/blender/makesrna/intern/rna_object.c
index 9683495..2cbf239 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2559,7 +2559,7 @@ static void rna_def_object(BlenderRNA *brna)
        /* render */
        prop = RNA_def_property(srna, "pass_index", PROP_INT, PROP_UNSIGNED);
        RNA_def_property_int_sdna(prop, NULL, "index");
-       RNA_def_property_ui_text(prop, "Pass Index", "Index number for the 
IndexOB render pass");
+       RNA_def_property_ui_text(prop, "Pass Index", "Index number for the 
\"Object Index\" render pass");
        RNA_def_property_update(prop, NC_OBJECT, "rna_Object_internal_update");
        
        prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to