Process tileset.
This commit is contained in:
@@ -64,7 +64,10 @@ def processPalettizedImage(asset):
|
||||
f.write(data)
|
||||
|
||||
outImage = {
|
||||
"imagePath": outputFileRelative,
|
||||
"files": [ outputFilePath ],
|
||||
'width': image.width,
|
||||
'height': image.height,
|
||||
}
|
||||
return outImage
|
||||
|
||||
@@ -90,6 +93,9 @@ def processAlphaImage(asset):
|
||||
f.write(data)
|
||||
|
||||
outImage = {
|
||||
"files": [ outputFilePath ]
|
||||
"imagePath": outputFileRelative,
|
||||
"files": [ outputFilePath ],
|
||||
'width': image.width,
|
||||
'height': image.height,
|
||||
}
|
||||
return outImage
|
Reference in New Issue
Block a user