From c686df25d98bc6a08ad02b9f4f9cff6b4aee4805 Mon Sep 17 00:00:00 2001 From: NBurn <7nburn@gmail.com> Date: Thu, 24 Jan 2019 22:59:16 -0500 Subject: addons: object select_set syntax update --- io_import_dxf/dxfimport/do.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_import_dxf') 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') -- cgit v1.2.3