diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 |
commit | 25c10ed028da5c547b11f1f461916897272b0e6d (patch) | |
tree | 350a5858f8970b6e28b2dc395625d74d8bd597b2 /indra/newview/llpolymorph.h | |
parent | 6dd125d375b38455997a0c4b8747659f4c2351aa (diff) |
QAR-628 merge string-cleanup-5 -r 90476:90508 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llpolymorph.h')
-rw-r--r-- | indra/newview/llpolymorph.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/indra/newview/llpolymorph.h b/indra/newview/llpolymorph.h index 8b4493ce86..71903cdbe0 100644 --- a/indra/newview/llpolymorph.h +++ b/indra/newview/llpolymorph.h @@ -48,15 +48,14 @@ class LLViewerJointCollisionVolume; class LLPolyMorphData { public: - LLPolyMorphData(char *morph_name); + LLPolyMorphData(const std::string& morph_name); ~LLPolyMorphData(); BOOL loadBinary(LLFILE* fp, LLPolyMeshSharedData *mesh); - char* loadASCII(char* text, LLPolyMeshSharedData *mesh); - char* getName() { return mName; } + const std::string& getName() { return mName; } public: - char* mName; + std::string mName; // morphology U32 mNumIndices; @@ -98,10 +97,10 @@ protected: //----------------------------------------------------------------------------- struct LLPolyVolumeMorphInfo { - LLPolyVolumeMorphInfo(LLString &name, LLVector3 &scale, LLVector3 &pos) + LLPolyVolumeMorphInfo(std::string &name, LLVector3 &scale, LLVector3 &pos) : mName(name), mScale(scale), mPos(pos) {}; - LLString mName; + std::string mName; LLVector3 mScale; LLVector3 mPos; }; @@ -130,7 +129,7 @@ public: /*virtual*/ BOOL parseXml(LLXmlTreeNode* node); protected: - LLString mMorphName; + std::string mMorphName; BOOL mIsClothingMorph; typedef std::vector<LLPolyVolumeMorphInfo> volume_info_list_t; volume_info_list_t mVolumeInfoList; |