diff options
author | Thomas Dinges <blender@dingto.org> | 2013-04-07 14:23:48 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-04-07 14:23:48 +0400 |
commit | 551f0fa091fcb8ea23ccbb1f6b5eadb16de39de7 (patch) | |
tree | 2222bed1b8df094bb9a91bf872c88d314ac22f2a /source | |
parent | fd01e6736ad2dec0fc8914927418b3d3556240f9 (diff) |
Freestyle UI:
* Remove "Unit" prefix from line thickness property. (discussed with Tamito in IRC)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index d4425f35888..5976fb3666c 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2742,7 +2742,7 @@ static void rna_def_freestyle_settings(BlenderRNA *brna) prop = RNA_def_property(srna, "use_advanced_options", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", FREESTYLE_ADVANCED_OPTIONS_FLAG); - RNA_def_property_ui_text(prop, "Advanced Edge Detection Options", + RNA_def_property_ui_text(prop, "Advanced Options", "Enable advanced edge detection options (sphere radius and Kr derivative epsilon)"); RNA_def_property_update(prop, NC_SCENE, NULL); @@ -4632,10 +4632,10 @@ static void rna_def_scene_render_data(BlenderRNA *brna) RNA_def_property_enum_items(prop, freestyle_thickness_items); RNA_def_property_ui_text(prop, "Line Thickness Mode", "Line thickness mode for Freestyle line drawing"); - prop = RNA_def_property(srna, "unit_line_thickness", PROP_FLOAT, PROP_NONE); + prop = RNA_def_property(srna, "line_thickness", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "unit_line_thickness"); RNA_def_property_range(prop, 0.f, 10000.f); - RNA_def_property_ui_text(prop, "Unit Line Thickness", "Unit line thickness in pixels"); + RNA_def_property_ui_text(prop, "Line Thickness", "Line thickness in pixels"); /* Scene API */ RNA_api_scene_render(srna); |