Fix for cache issues (May or may not be Mac-specific?) Added by Belaya.
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -247,7 +247,7 @@ std::string LLDir::buildSLOSCacheDir() const
|
||||
}
|
||||
else
|
||||
{
|
||||
res = getOSCacheDir() + mDirDelimiter + "SecondLife";
|
||||
res = getOSCacheDir() + mDirDelimiter + "Ascent";
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ LLDir_Mac::LLDir_Mac()
|
||||
CFStringRef stringRef = NULL;
|
||||
OSStatus error = noErr;
|
||||
FSRef fileRef;
|
||||
CFStringRef secondLifeString = CFSTR("SecondLife");
|
||||
CFStringRef secondLifeString = CFSTR("Ascent");
|
||||
|
||||
mainBundleRef = CFBundleGetMainBundle();
|
||||
|
||||
@@ -173,7 +173,7 @@ LLDir_Mac::LLDir_Mac()
|
||||
if (error == noErr)
|
||||
{
|
||||
FSRefToLLString(&cacheDirRef, mOSCacheDir);
|
||||
(void)CFCreateDirectory(&cacheDirRef, CFSTR("SecondLife"),NULL);
|
||||
(void)CFCreateDirectory(&cacheDirRef, CFSTR("Ascent"), NULL);
|
||||
}
|
||||
|
||||
// mOSUserAppDir
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
/* DOUBLE EDIT REACH AROUND
|
||||
Rewritten by Hg Beeks
|
||||
|
||||
We will handle drag-and-drop in the future. Reminder - Look in llPreviewGesture for handleDragAndDrop. -HgB
|
||||
*/
|
||||
|
||||
#include "llviewerprecompiledheaders.h"
|
||||
|
||||
Reference in New Issue
Block a user