[Bf-blender-cvs] [2be654b] master: Usual UI messages fixes...

Bastien Montagne noreply at git.blender.org
Wed Feb 12 16:23:16 CET 2014


Commit: 2be654b2ff5f3f93d0cafdd6a979ffae95fa8f28
Author: Bastien Montagne
Date:   Wed Feb 12 15:55:58 2014 +0100
https://developer.blender.org/rB2be654b2ff5f3f93d0cafdd6a979ffae95fa8f28

Usual UI messages fixes...

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

M	source/blender/makesrna/intern/rna_cloth.c
M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_cloth.c b/source/blender/makesrna/intern/rna_cloth.c
index 683f09a..f357e35 100644
--- a/source/blender/makesrna/intern/rna_cloth.c
+++ b/source/blender/makesrna/intern/rna_cloth.c
@@ -389,13 +389,13 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "shrink_min", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "shrink_min");
 	RNA_def_property_range(prop, 0.0f, 1.0f);
-	RNA_def_property_ui_text(prop, "Shrink Factor Min", "min amount to shrink cloth by");
+	RNA_def_property_ui_text(prop, "Shrink Factor Min", "Min amount to shrink cloth by");
 	RNA_def_property_update(prop, 0, "rna_cloth_update");
 
 	prop = RNA_def_property(srna, "shrink_max", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "shrink_max");
 	RNA_def_property_range(prop, 0.0f, 1.0f);
-	RNA_def_property_ui_text(prop, "Shrink Factor Max", "max amount to shrink cloth by");
+	RNA_def_property_ui_text(prop, "Shrink Factor Max", "Max amount to shrink cloth by");
 	RNA_def_property_update(prop, 0, "rna_cloth_update");
 
 	/* springs */
@@ -431,7 +431,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
 	RNA_def_property_float_sdna(prop, NULL, "max_sewing");
 	RNA_def_property_range(prop, 0.0f, 10000.0f);
 	RNA_def_property_float_funcs(prop, NULL, "rna_ClothSettings_max_sewing_set", NULL);
-	RNA_def_property_ui_text(prop, "Sewing Force Maximum", "Maximum sewing force");
+	RNA_def_property_ui_text(prop, "Sewing Force Max", "Maximum sewing force");
 	RNA_def_property_update(prop, 0, "rna_cloth_update");
 
 	prop = RNA_def_property(srna, "vertex_group_structural_stiffness", PROP_STRING, PROP_NONE);
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 939ecee..a98737e 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2273,9 +2273,9 @@ void rna_def_render_layer_common(StructRNA *srna, int scene)
 		RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
 
 		prop = RNA_def_property(srna, "pass_alpha_threshold", PROP_FLOAT, PROP_FACTOR);
-		RNA_def_property_ui_text(prop, "Alpha Threshold", "Z, Index, normal, UV and vector passes are"
-		                               "only affected by surfaces with alpha transparency equal to"
-									   "or higher than this threshold");
+		RNA_def_property_ui_text(prop, "Alpha Threshold",
+		                         "Z, Index, normal, UV and vector passes are only affected by surfaces with "
+		                         "alpha transparency equal to or higher than this threshold");
 		RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
 	}




More information about the Bf-blender-cvs mailing list