From dc612a18b60341b233fcac00f99405d98b61c01a Mon Sep 17 00:00:00 2001 From: Isaac Date: Fri, 8 Aug 2025 15:03:57 -0400 Subject: small stuff on collada / OBJ exporter for KCL / importer for NeoKCLCreate OBJs --- collada_superbmd_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collada_superbmd_import.py') diff --git a/collada_superbmd_import.py b/collada_superbmd_import.py index 8187fb9..39e7ce6 100644 --- a/collada_superbmd_import.py +++ b/collada_superbmd_import.py @@ -40,7 +40,7 @@ def import_collada_superbmd(context, filepath): root = xml.getroot() # texture files path - if (os.name == "posix"): + if (os.name == "posix" and root.find("library_images") != None): for image in root.find("library_images"): tmp = image.find("init_from").text while (tmp[0] != '\\'): -- cgit v1.2.3-70-g09d2