Fix T53678: Smart Project UV margin ignores units
authorCampbell Barton <ideasman42@gmail.com>
Wed, 3 Jan 2018 05:10:41 +0000 (16:10 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 3 Jan 2018 05:10:41 +0000 (16:10 +1100)
release/scripts/startup/bl_operators/uvcalc_smart_project.py

index cc590ac9502b4a2ed203e76de3641a5c4c43954b..12c56a188970a9af565061efa6f4ca862099ab5e 100644 (file)
@@ -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,
             )