From 81539bf9c200602975610a032f63ad8e03bbeb77 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 20 Feb 2015 10:06:07 +0100 Subject: Fix T43719: STL Import Script Scale option is strongly limited Soft min/max are now 1e(-)3, hard ones are now 1e(-)6... --- io_mesh_stl/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'io_mesh_stl/__init__.py') diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 975e52bf..56d56289 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "STL format", "author": "Guillaume Bouchard (Guillaum)", - "version": (1, 1), + "version": (1, 1, 1), "blender": (2, 73, 0), "location": "File > Import-Export > Stl", "description": "Import-Export STL files", @@ -93,7 +93,8 @@ class ImportSTL(Operator, ImportHelper, OrientationHelper): global_scale = FloatProperty( name="Scale", - min=0.01, max=1000.0, + soft_min=0.001, soft_max=1000.0, + min=1e-6, max=1e6, default=1.0, ) -- cgit v1.2.3