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>2011-05-26 12:51:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-26 12:51:05 +0400
commite41ec5e2c24198039c05de81d3443857d7727606 (patch)
tree4ec88334d867f9b039686bf6f938b1a7e06c0cbb /io_scene_3ds
parent591821c92254b03a64113c077e258d50ff20cca5 (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.py5
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
"""