summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNicky Perian <nickyperian@yahoo.com>2012-04-03 20:25:49 -0500
committerNicky Perian <nickyperian@yahoo.com>2012-04-03 20:25:49 -0500
commit973bc1d1745d8315fd63f537871b2afde8bc0994 (patch)
tree4a22dc3e0774cde1fd179b6f2e61947d44507a23 /indra/newview
parent999e0bcc2c58d7e722792f94118016d8ed024c7e (diff)
STORM-1828 Change write to location from LL_PATH_CHARACTER to
LL_PATH_USER_SETTINGS. This will allow a common write location for development and installed configurations. Should correct installed configuration from permission failures on windows systems where writing to the install directory requires elevation of rights to administrator.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index f46cedfc4b..7d6923cbc5 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7532,7 +7532,7 @@ void LLVOAvatar::useBakedTexture( const LLUUID& id )
void LLVOAvatar::dumpArchetypeXML( void* )
{
LLAPRFile outfile;
- outfile.open(gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"new archetype.xml"), LL_APR_WB );
+ outfile.open(gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"new archetype.xml"), LL_APR_WB );
apr_file_t* file = outfile.getFileHandle();
if (!file)
{
@@ -7540,7 +7540,7 @@ void LLVOAvatar::dumpArchetypeXML( void* )
}
else
{
- llinfos << "xmlfile write handle obtained : " << gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"new archetype.xml") << llendl;
+ llinfos << "xmlfile write handle obtained : " << gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"new archetype.xml") << llendl;
}
apr_file_printf( file, "<?xml version=\"1.0\" encoding=\"US-ASCII\" standalone=\"yes\"?>\n" );