mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
makepanda: fix model cache written in current dir on macOS
This was a regression in 2b537d2263d312672fe4a380fb6f49bda641cd48 that caused the model-cache to be written to ./Library/Caches rather than $HOME/Library/Caches
This commit is contained in:
parent
69decc17ff
commit
8a38337e6b
@ -2934,7 +2934,7 @@ else:
|
||||
configprc = configprc.replace("aux-display pandadx9", "")
|
||||
|
||||
if (GetTarget() == 'darwin'):
|
||||
configprc = configprc.replace("$XDG_CACHE_HOME/panda3d", "Library/Caches/Panda3D-%s" % MAJOR_VERSION)
|
||||
configprc = configprc.replace("$XDG_CACHE_HOME/panda3d", "$HOME/Library/Caches/Panda3D-%s" % MAJOR_VERSION)
|
||||
|
||||
# OpenAL is not yet working well on OSX for us, so let's do this for now.
|
||||
configprc = configprc.replace("p3openal_audio", "p3fmod_audio")
|
||||
|
Loading…
x
Reference in New Issue
Block a user