diff options
Diffstat (limited to 'collada_superbmd_import.py')
-rw-r--r-- | collada_superbmd_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] != '\\'): |