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:
parent
a46d179f0c
commit
3cc9874c38
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user