[Bf-blender-cvs] [f5d9f45] master: Freestyle: Revised a UI text for better understandability in the Outliner.

Tamito Kajiyama noreply at git.blender.org
Mon May 5 12:55:19 CEST 2014


Commit: f5d9f45a6fe6af455fb3efadb3e7644d134adcf6
Author: Tamito Kajiyama
Date:   Mon May 5 16:40:31 2014 +0900
https://developer.blender.org/rBf5d9f45a6fe6af455fb3efadb3e7644d134adcf6

Freestyle: Revised a UI text for better understandability in the Outliner.

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

M	release/scripts/startup/bl_ui/properties_freestyle.py
M	source/blender/makesrna/intern/rna_linestyle.c

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

diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py
index e979c03..31a638d 100644
--- a/release/scripts/startup/bl_ui/properties_freestyle.py
+++ b/release/scripts/startup/bl_ui/properties_freestyle.py
@@ -678,7 +678,7 @@ class RENDERLAYER_PT_freestyle_linestyle(RenderLayerFreestyleEditorButtonsPanel,
             layout.separator()
 
             row = layout.row()
-            row.prop(linestyle, "use_texture", text="Use Textures")
+            row.prop(linestyle, "use_texture")
             row.prop(linestyle, "texture_spacing", text="Spacing Along Stroke")
 
             row = layout.row()
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c
index d6378c4..2b20dc2 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -1339,7 +1339,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "use_texture", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", LS_TEXTURE);
-	RNA_def_property_ui_text(prop, "Texture", "Enable or disable textured strokes");
+	RNA_def_property_ui_text(prop, "Use Textures", "Enable or disable textured strokes");
 	RNA_def_property_update(prop, NC_LINESTYLE, NULL);
 
 	prop = RNA_def_property(srna, "texture_spacing", PROP_FLOAT, PROP_FACTOR);




More information about the Bf-blender-cvs mailing list