Make TMPAssetConverter work without atlas file
This commit is contained in:
@@ -249,7 +249,7 @@ with open(originalFN, "rb") as originalFile:
|
|||||||
with open(behaviourFN, "rb") as behaviourFile:
|
with open(behaviourFN, "rb") as behaviourFile:
|
||||||
behaviour = FontFile(behaviourFile.read(), behaviourFN, emptyAtlasPoint)
|
behaviour = FontFile(behaviourFile.read(), behaviourFN, emptyAtlasPoint)
|
||||||
|
|
||||||
|
if len(sys.argv) > 4:
|
||||||
atlasName = readString(atlasName)
|
atlasName = readString(atlasName)
|
||||||
with open(outFN + "/" + atlasName + "_Texture2D.dat", "wb") as outFile:
|
with open(outFN + "/" + atlasName + "_Texture2D.dat", "wb") as outFile:
|
||||||
outFile.write(atlasOut)
|
outFile.write(atlasOut)
|
||||||
|
|||||||
Reference in New Issue
Block a user