Fix lightmap optimize skip
This commit is contained in:
parent
38e353b5c6
commit
af65ca5c62
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ loPathTags = ExportBuildDirectory + "/" + ShapeTagExportDirectory
|
||||||
mkPath(log, loPathLightmaps)
|
mkPath(log, loPathLightmaps)
|
||||||
mkPath(log, loPathShapes)
|
mkPath(log, loPathShapes)
|
||||||
mkPath(log, loPathTags)
|
mkPath(log, loPathTags)
|
||||||
if needUpdateDirNoSubdir(log, loPathLightmapsOriginal, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathShapes, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathTags, loPathLightmaps):
|
if needUpdateDirByTagLog(log, loPathLightmapsOriginal, ".txt", loPathLightmaps, ".txt") or needUpdateDirNoSubdir(log, loPathLightmapsOriginal, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathShapes, loPathLightmaps) or needUpdateDirNoSubdir(log, loPathTags, loPathLightmaps):
|
||||||
removeFilesRecursive(log, loPathLightmaps)
|
removeFilesRecursive(log, loPathLightmaps)
|
||||||
copyFiles(log, loPathLightmapsOriginal, loPathLightmaps)
|
copyFiles(log, loPathLightmapsOriginal, loPathLightmaps)
|
||||||
# Optimize lightmaps if any. Additionnaly, output a file indicating which lightmaps are 8 bits
|
# Optimize lightmaps if any. Additionnaly, output a file indicating which lightmaps are 8 bits
|
||||||
|
|
Loading…
Reference in a new issue