diff options
-rw-r--r-- | io_scene_3ds/import_3ds.py | 5 | ||||
-rw-r--r-- | io_scene_fbx/__init__.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py index f054033d..967ad2e9 100644 --- a/io_scene_3ds/import_3ds.py +++ b/io_scene_3ds/import_3ds.py @@ -788,6 +788,9 @@ def load_3ds(filepath, print("importing 3DS: %r..." % (filepath), end="") + if bpy.ops.object.select_all.poll(): + bpy.ops.object.select_all(action='DESELECT') + time1 = time.clock() # time1 = Blender.sys.time() @@ -844,6 +847,8 @@ def load_3ds(filepath, if ob.parent is None: ob.matrix_world = ob.matrix_world * global_matrix + for ob in importedObjects: + ob.select = True # Done DUMMYVERT """ diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 48391ac0..94d6d7cc 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -56,7 +56,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper): # List of operator properties, the attributes will be assigned # to the class instance from the operator settings before calling. - use_selection = BoolProperty(name="Selected Objects", description="Export selected objects on visible layers", default=True) + use_selection = BoolProperty(name="Selected Objects", description="Export selected objects on visible layers", default=False) # EXP_OBS_SCENE = BoolProperty(name="Scene Objects", description="Export all objects in this scene", default=True) global_scale = FloatProperty(name="Scale", description="Scale all data, (Note! some imports dont support scaled armatures)", min=0.01, max=1000.0, soft_min=0.01, soft_max=1000.0, default=1.0) |