Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Harmonikater
BF2-3dsMax-Tools
Commits
72bf51ff
Commit
72bf51ff
authored
Aug 12, 2019
by
Harmonikater
Browse files
Backsave to 2016 from newer versions during autolm
parent
6df566a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/bf2/Statics/auto_lm.ms
View file @
72bf51ff
...
...
@@ -152,7 +152,14 @@ fn auto_lightmap_setup mapFolder sizefile:undefined areaShadows:False =
local savePath = pathconfig.appendpath mapFolder "Lightmaps/MaxLight/LightmapScene.max"
makeDir (pathconfig.appendpath mapFolder "Lightmaps/MaxLight") all:True
saveMaxFile savePath
if (maxVersion())[1] > 18000 then
(
saveMaxFile savePath saveAsVersion:2016
)
else
(
saveMaxFile savePath
)
LM_log " Saving scene."
LM_log "Scene setup complete."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment