Changed: #964 Some more rules for batched max convert paths.
This commit is contained in:
parent
773d034a30
commit
e33ebf8ec7
1 changed files with 13 additions and 0 deletions
|
@ -118,6 +118,19 @@ fn getFixedTexturePath t =
|
||||||
return testDestination
|
return testDestination
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
if (not (doesFileExist absoluteDestination)) and ((findString t "\\sky_V2\\textures\\textures") != undefined) then
|
||||||
|
(
|
||||||
|
testDestination = ("W:\\database\\sky_V2\\textures\\textures\\nodds\\" + (getFilenameFile (filenameFromPath t)) + ".png")
|
||||||
|
if (doesFileExist testDestination) then (return testDestination)
|
||||||
|
testDestination = ("W:\\database\\sky_V2\\textures\\textures\\desert\\" + (getFilenameFile (filenameFromPath t)) + ".png")
|
||||||
|
if (doesFileExist testDestination) then (return testDestination)
|
||||||
|
testDestination = ("W:\\database\\sky_V2\\textures\\textures\\forest\\" + (getFilenameFile (filenameFromPath t)) + ".png")
|
||||||
|
if (doesFileExist testDestination) then (return testDestination)
|
||||||
|
testDestination = ("W:\\database\\sky_V2\\textures\\textures\\jungle\\" + (getFilenameFile (filenameFromPath t)) + ".png")
|
||||||
|
if (doesFileExist testDestination) then (return testDestination)
|
||||||
|
testDestination = ("W:\\database\\sky_V2\\textures\\textures\\lacustre\\" + (getFilenameFile (filenameFromPath t)) + ".png")
|
||||||
|
if (doesFileExist testDestination) then (return testDestination)
|
||||||
|
)
|
||||||
return absoluteDestination
|
return absoluteDestination
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue