diff options
author | Logan Dethrow <log@lindenlab.com> | 2011-10-19 13:04:54 -0400 |
---|---|---|
committer | Logan Dethrow <log@lindenlab.com> | 2011-10-19 13:04:54 -0400 |
commit | 77876a3c4f18b480f9afd17be57b123d2e5f1e84 (patch) | |
tree | 04b31f26cceef5cc411b166d30eb694707d995aa /indra/llcharacter/llkeyframemotionparam.cpp | |
parent | e0f6e449594c44511d9634ea54faf54f8fe5cb7c (diff) | |
parent | dd61baa3401a09bd8ff1e894514c15390946cdb3 (diff) |
Merged with viewer-development.
Diffstat (limited to 'indra/llcharacter/llkeyframemotionparam.cpp')
-rw-r--r-- | indra/llcharacter/llkeyframemotionparam.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcharacter/llkeyframemotionparam.cpp b/indra/llcharacter/llkeyframemotionparam.cpp index c3d5dec875..82fe8971f5 100644 --- a/indra/llcharacter/llkeyframemotionparam.cpp +++ b/indra/llcharacter/llkeyframemotionparam.cpp @@ -351,7 +351,8 @@ BOOL LLKeyframeMotionParam::loadMotions() // open the file //------------------------------------------------------------------------- S32 fileSize = 0; - LLAPRFile infile(path, LL_APR_R, &fileSize); + LLAPRFile infile ; + infile.open(path, LL_APR_R, NULL, &fileSize); apr_file_t* fp = infile.getFileHandle() ; if (!fp || fileSize == 0) { |