Browse Source

Move the model-cache to ~/Library/Caches/, as well

rdb 16 years ago
parent
commit
270d79658e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      makepanda/makepanda.py

+ 2 - 0
makepanda/makepanda.py

@@ -1483,6 +1483,8 @@ else:
     configprc = configprc.replace("aux-display pandadx8","")
     configprc = configprc.replace("aux-display pandadx8","")
 
 
 if (sys.platform == "darwin"):
 if (sys.platform == "darwin"):
+    configprc = configprc.replace(".panda3d","Library/Caches/Panda3D-%s" % VERSION)
+    
     # OpenAL is not yet working well on OSX for us, so let's do this for now.
     # OpenAL is not yet working well on OSX for us, so let's do this for now.
     configprc = configprc.replace("p3openal_audio","p3fmod_audio")
     configprc = configprc.replace("p3openal_audio","p3fmod_audio")