Commit: 42e207b5992ab040d6f393b0921d3a27a3efb18a
Author: Campbell Barton
Date:   Wed Jan 3 16:10:41 2018 +1100
Branches: blender-v2.79a-release
https://developer.blender.org/rB42e207b5992ab040d6f393b0921d3a27a3efb18a

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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to