Relative
This commit is contained in:
6
tools/assetstool/assethelpers.py
Normal file
6
tools/assetstool/assethelpers.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import os
|
||||
from args import args
|
||||
|
||||
def getAssetRelativePath(fullPath):
|
||||
# Get the relative path to the asset
|
||||
return os.path.relpath(fullPath, start=args.assets).replace('\\', '/')
|
Reference in New Issue
Block a user