Fix lightmap optimize skip
This commit is contained in:
parent
260811ae2a
commit
b23fef9209
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ loPathTags = ExportBuildDirectory + "/" + ShapeTagExportDirectory
|
|||
mkPath(log, loPathLightmaps)
|
||||
mkPath(log, loPathShapes)
|
||||
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)
|
||||
copyFiles(log, loPathLightmapsOriginal, loPathLightmaps)
|
||||
# Optimize lightmaps if any. Additionnaly, output a file indicating which lightmaps are 8 bits
|
||||
|
|
Loading…
Reference in a new issue