diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py index f054033d6afcb605f71f9aceda85175ddc4c1b7f..967ad2e92d7d4b512fbb013c5f46add964e2c3aa 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 48391ac0afc485a434a994bcccd730f84918695d..94d6d7cc20cc2443910b7b41d72d21721df00865 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)