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:
authorCampbell Barton <ideasman42@gmail.com>2015-04-02 12:01:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-02 12:01:16 +0300
commit77893ffd964214baf2b11498defad4f355073310 (patch)
treeb1eb1d2b5da48127a99901104ec45f8f93eebed1 /io_mesh_stl
parent5d4cd5ae50cde918acd117998277b7ed46dd3b09 (diff)
default apply-modifiers to on
Diffstat (limited to 'io_mesh_stl')
-rw-r--r--io_mesh_stl/__init__.py31
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):