diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-02 12:01:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-02 12:01:16 +0300 |
commit | 77893ffd964214baf2b11498defad4f355073310 (patch) | |
tree | b1eb1d2b5da48127a99901104ec45f8f93eebed1 | |
parent | 5d4cd5ae50cde918acd117998277b7ed46dd3b09 (diff) |
default apply-modifiers to on
-rw-r--r-- | io_mesh_stl/__init__.py | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 6c97db1b..8a0b1086 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -57,18 +57,23 @@ if "bpy" in locals(): import os import bpy -from bpy.props import (StringProperty, - BoolProperty, - CollectionProperty, - EnumProperty, - FloatProperty, - ) -from bpy_extras.io_utils import (ImportHelper, - ExportHelper, - orientation_helper_factory, - axis_conversion, - ) -from bpy.types import Operator, OperatorFileListElement +from bpy.props import ( + StringProperty, + BoolProperty, + CollectionProperty, + EnumProperty, + FloatProperty, + ) +from bpy_extras.io_utils import ( + ImportHelper, + ExportHelper, + orientation_helper_factory, + axis_conversion, + ) +from bpy.types import ( + Operator, + OperatorFileListElement, + ) IOSTLOrientationHelper = orientation_helper_factory("IOSTLOrientationHelper", axis_forward='Y', axis_up='Z') @@ -104,7 +109,7 @@ class ImportSTL(Operator, ImportHelper, IOSTLOrientationHelper): use_scene_unit = BoolProperty( name="Scene Unit", description="Apply current scene's unit (as defined by unit scale) to imported data", - default=False, + default=True, ) def execute(self, context): |