Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-02-20 12:06:07 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-02-20 12:06:07 +0300
commit81539bf9c200602975610a032f63ad8e03bbeb77 (patch)
treebb5f1035e77d624671c0a46043260e7cbf6ac139 /io_mesh_stl
parentc6f198bea6624e2fa286b6c1e4f412bd8a7953ce (diff)
Fix T43719: STL Import Script Scale option is strongly limited
Soft min/max are now 1e(-)3, hard ones are now 1e(-)6...
Diffstat (limited to 'io_mesh_stl')
-rw-r--r--io_mesh_stl/__init__.py5
1 files changed, 3 insertions, 2 deletions
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,
)