[Bf-extensions-cvs] [77893ff] master: default apply-modifiers to on
Campbell Barton
noreply at git.blender.org
Thu Apr 2 11:02:13 CEST 2015
Commit: 77893ffd964214baf2b11498defad4f355073310
Author: Campbell Barton
Date: Thu Apr 2 20:01:16 2015 +1100
Branches: master
https://developer.blender.org/rBA77893ffd964214baf2b11498defad4f355073310
default apply-modifiers to on
===================================================================
M io_mesh_stl/__init__.py
===================================================================
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index 6c97db1..8a0b108 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):
More information about the Bf-extensions-cvs
mailing list