diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-26 12:51:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-26 12:51:05 +0400 |
commit | e41ec5e2c24198039c05de81d3443857d7727606 (patch) | |
tree | 4ec88334d867f9b039686bf6f938b1a7e06c0cbb /io_scene_3ds | |
parent | 591821c92254b03a64113c077e258d50ff20cca5 (diff) |
- 3ds now selects all objects on import
- fbx default use_selected to False
Diffstat (limited to 'io_scene_3ds')
-rw-r--r-- | io_scene_3ds/import_3ds.py | 5 |
1 files changed, 5 insertions, 0 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 """ |