Relative
This commit is contained in:
14
tools/assetstool/processasset.py
Normal file
14
tools/assetstool/processasset.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from processtileset import processTileset
|
||||
|
||||
processedAssets = []
|
||||
|
||||
def processAsset(assetPath):
|
||||
if assetPath in processedAssets:
|
||||
return
|
||||
|
||||
processedAssets.append(assetPath)
|
||||
|
||||
# Handle tiled tilesets
|
||||
if assetPath.endswith('.tsx'):
|
||||
processTileset(assetPath)
|
||||
return
|
Reference in New Issue
Block a user