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:
Diffstat (limited to 'io_import_dxf')
-rw-r--r--io_import_dxf/dxfimport/do.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_dxf/dxfimport/do.py b/io_import_dxf/dxfimport/do.py
index e10d7d70..7fd3e262 100644
--- a/io_import_dxf/dxfimport/do.py
+++ b/io_import_dxf/dxfimport/do.py
@@ -1410,7 +1410,7 @@ class Do:
for o in (o for o in scene.objects if "BEVEL" not in o.name and "TAPER" not in o.name
and o not in self.objects_before and o.parent is None):
o.location = o.location - center
- o.select = True
+ o.select_set(True)
if not self.did_group_instance:
bpy.ops.object.origin_set(type='ORIGIN_CURSOR')