[Bf-blender-cvs] [59bd7c34baa] greasepencil-object: UI: Rename Pixel Factor to Scale
Antonio Vazquez
noreply at git.blender.org
Fri Feb 23 17:09:04 CET 2018
Commit: 59bd7c34baa522ec3554f2eca4036a5e46b169cf
Author: Antonio Vazquez
Date: Fri Feb 23 17:08:50 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB59bd7c34baa522ec3554f2eca4036a5e46b169cf
UI: Rename Pixel Factor to Scale
>From artist point of view it's more clear the new name. Pixel factor can be technically correct, but it's look weird.
===================================================================
M release/scripts/startup/bl_ui/properties_data_gpencil.py
M source/blender/makesrna/intern/rna_gpencil.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index a4b68c85ca3..c593cdf55f3 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -139,7 +139,7 @@ class DATA_PT_gpencil_display(DataButtonsPanel, Panel):
col.prop(gpd, "keep_stroke_thickness")
sub = col.column()
sub.active = not gpd.keep_stroke_thickness
- sub.prop(gpd, "pixfactor", text="Pixel Factor")
+ sub.prop(gpd, "pixfactor", text="Scale")
layout.separator()
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index c481f114ccd..8c77813c25e 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1498,7 +1498,7 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "pixfactor");
RNA_def_property_range(prop, 0.1f, 30.0f);
RNA_def_property_ui_range(prop, 0.1f, 30.0f, 1, 2);
- RNA_def_property_ui_text(prop, "Pixel Factor", "Conversion factor for pixel size (use larger values for thicker lines)");
+ RNA_def_property_ui_text(prop, "Scale", "Scale conversion factor for pixel size (use larger values for thicker lines)");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
prop = RNA_def_property(srna, "use_multiedit", PROP_BOOLEAN, PROP_NONE);
More information about the Bf-blender-cvs
mailing list