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:
authorCampbell Barton <ideasman42@gmail.com>2018-01-03 08:10:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-03 08:10:41 +0300
commitcbc7aa80d49e3b36c9ecc0e27ec528b34c491fc1 (patch)
treec2cff04322477f20ba750493c915f7147ef1043c /release
parentc621832d3d358cd7648d60c16e1685050c4f6778 (diff)
Fix T53678: Smart Project UV margin ignores units
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_smart_project.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
index cc590ac9502..12c56a18897 100644
--- a/release/scripts/startup/bl_operators/uvcalc_smart_project.py
+++ b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
@@ -1067,6 +1067,7 @@ class SmartProject(Operator):
island_margin = FloatProperty(
name="Island Margin",
description="Margin to reduce bleed from adjacent islands",
+ unit='LENGTH', subtype='DISTANCE',
min=0.0, max=1.0,
default=0.0,
)