diff options
Diffstat (limited to 'linden/indra/llcharacter')
-rw-r--r-- | linden/indra/llcharacter/llbvhloader.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llcharacter/llkeyframemotionparam.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llcharacter/llstatemachine.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llcharacter/llbvhloader.cpp b/linden/indra/llcharacter/llbvhloader.cpp index e1f8ce5..49b6d82 100644 --- a/linden/indra/llcharacter/llbvhloader.cpp +++ b/linden/indra/llcharacter/llbvhloader.cpp | |||
@@ -179,7 +179,7 @@ LLBVHLoader::Status LLBVHLoader::loadTranslationTable(const char *fileName) | |||
179 | std::string path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,fileName); | 179 | std::string path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,fileName); |
180 | 180 | ||
181 | LLAPRFile infile ; | 181 | LLAPRFile infile ; |
182 | infile.open(path, LL_APR_R); | 182 | infile.open(path, LL_APR_R, LLAPRFile::global); |
183 | apr_file_t *fp = infile.getFileHandle(); | 183 | apr_file_t *fp = infile.getFileHandle(); |
184 | if (!fp) | 184 | if (!fp) |
185 | return ST_NO_XLT_FILE; | 185 | return ST_NO_XLT_FILE; |
diff --git a/linden/indra/llcharacter/llkeyframemotionparam.cpp b/linden/indra/llcharacter/llkeyframemotionparam.cpp index a9c1f6f..3692bf6 100644 --- a/linden/indra/llcharacter/llkeyframemotionparam.cpp +++ b/linden/indra/llcharacter/llkeyframemotionparam.cpp | |||
@@ -355,7 +355,7 @@ BOOL LLKeyframeMotionParam::loadMotions() | |||
355 | //------------------------------------------------------------------------- | 355 | //------------------------------------------------------------------------- |
356 | S32 fileSize = 0; | 356 | S32 fileSize = 0; |
357 | LLAPRFile infile ; | 357 | LLAPRFile infile ; |
358 | infile.open(path, LL_APR_R, NULL, &fileSize); | 358 | infile.open(path, LL_APR_R, LLAPRFile::global, &fileSize); |
359 | apr_file_t* fp = infile.getFileHandle() ; | 359 | apr_file_t* fp = infile.getFileHandle() ; |
360 | if (!fp || fileSize == 0) | 360 | if (!fp || fileSize == 0) |
361 | { | 361 | { |
diff --git a/linden/indra/llcharacter/llstatemachine.cpp b/linden/indra/llcharacter/llstatemachine.cpp index 73c6951..71e2eaa 100644 --- a/linden/indra/llcharacter/llstatemachine.cpp +++ b/linden/indra/llcharacter/llstatemachine.cpp | |||
@@ -210,7 +210,7 @@ LLFSMState* LLStateDiagram::getState(U32 state_id) | |||
210 | BOOL LLStateDiagram::saveDotFile(const std::string& filename) | 210 | BOOL LLStateDiagram::saveDotFile(const std::string& filename) |
211 | { | 211 | { |
212 | LLAPRFile outfile ; | 212 | LLAPRFile outfile ; |
213 | outfile.open(filename, LL_APR_W); | 213 | outfile.open(filename, LL_APR_W, LLAPRFile::global); |
214 | apr_file_t* dot_file = outfile.getFileHandle() ; | 214 | apr_file_t* dot_file = outfile.getFileHandle() ; |
215 | 215 | ||
216 | if (!dot_file) | 216 | if (!dot_file) |