[Bf-blender-cvs] [cbc7aa80d49] master: Fix T53678: Smart Project UV margin ignores units

Campbell Barton noreply at git.blender.org
Wed Jan 3 06:14:15 CET 2018


Commit: cbc7aa80d49e3b36c9ecc0e27ec528b34c491fc1
Author: Campbell Barton
Date:   Wed Jan 3 16:10:41 2018 +1100
Branches: master
https://developer.blender.org/rBcbc7aa80d49e3b36c9ecc0e27ec528b34c491fc1

Fix T53678: Smart Project UV margin ignores units

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

M	release/scripts/startup/bl_operators/uvcalc_smart_project.py

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

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,
             )



More information about the Bf-blender-cvs mailing list