Fix bug where entire file gets skipped if one lit texture can't be found the whole file gets skipped

This commit is contained in:
TheEagle 2022-07-26 12:12:39 +02:00 committed by GitHub
parent a46d179f0c
commit 3cc9874c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ def write_xml_files(texture_paths, lit_suffix, overwrite):
if not os.path.isfile(texture_lit_path): if not os.path.isfile(texture_lit_path):
print("Night texture", texture_lit_path, "does not exist - skipping objects") print("Night texture", texture_lit_path, "does not exist - skipping objects")
break continue
xml_f.write(""" xml_f.write("""
<animation> <animation>