From a14348de457afa0cc7b0b48815dd58a87915d201 Mon Sep 17 00:00:00 2001 From: RobLop Date: Wed, 8 May 2024 09:41:28 +0200 Subject: [PATCH] fix #105316 --- io_import_dxf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2