Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2019-01-07 15:29:54 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-01-07 15:29:54 +0300
commitb786416106136ac5fd0b9ea55a0b0cf0c029243e (patch)
tree56edcc72aa8a30b1280c4a5a71dfce834fbe285f /release
parentf19b3f9b77a54e12a083bde0a6036d7d60bb53e6 (diff)
Fix T59151 Bevel modifier has bad input width for percent.
The units scaling was inappropriate when the bevel value was to be interpreted as a percent, so added a separate rna property for "Width Percent" and made UI show the width appropriate for current offset_type.
Diffstat (limited to 'release')
m---------release/datafiles/locale0
m---------release/scripts/addons0
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py5
3 files changed, 4 insertions, 1 deletions
diff --git a/release/datafiles/locale b/release/datafiles/locale
-Subproject 345b7d27872d87ae5074a83d8b9995b37bc56f1
+Subproject 8eafc437295b0edc990db231fe957e2ad42af70
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 40340832e3992f46034b470aef1af6f7a3a4410
+Subproject d31844cc0b3be397b5032cb0c5d8daea3958478
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 52af0512a0c..a6bab561e29 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -136,7 +136,10 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
split = layout.split()
col = split.column()
- col.prop(md, "width")
+ if md.offset_type == 'PERCENT':
+ col.prop(md, "width_pct")
+ else:
+ col.prop(md, "width")
col.prop(md, "segments")
col.prop(md, "profile")
col.prop(md, "material")