diff --git a/io_import_dxf/__init__.py b/io_import_dxf/__init__.py index 265b70ada..30c7081b2 100644 --- a/io_import_dxf/__init__.py +++ b/io_import_dxf/__init__.py @@ -570,7 +570,7 @@ class IMPORT_OT_dxf(bpy.types.Operator): collection = scene.collection case _: collection = bpy.context.collection - if collection.name not in scene.collection.children: scene.collection.children.link(collection) + if collection != scene.collection and collection.name not in scene.collection.children: scene.collection.children.link(collection) if RELEASE_TEST: # for release testing