Fix issues with older games spamming error messages about textures being the wrong size

This commit is contained in:
Tellow Krinkle
2018-11-10 02:53:51 -06:00
parent 41e0d9a93f
commit 36f2c3ecd5
2 changed files with 13 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ with open(behaviourFN, "rb") as behaviourFile:
if len(sys.argv) > 4:
atlasName = readString(atlasName)
with open(outFN + "/" + atlasName + "_Texture2D.dat", "wb") as outFile:
with open(outFN + "/" + original.filename + " Atlas_Texture2D.dat", "wb") as outFile:
outFile.write(atlasOut)
with open(outFN + "/" + original.filename + "_TextMeshProFont.dat", "wb") as outFile:
outFile.write(combineFonts(original=original, new=behaviour))