diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llpolymorph.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llpolymorph.h')
-rw-r--r-- | linden/indra/newview/llpolymorph.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/newview/llpolymorph.h b/linden/indra/newview/llpolymorph.h index 0ad5b18..aea30e6 100644 --- a/linden/indra/newview/llpolymorph.h +++ b/linden/indra/newview/llpolymorph.h | |||
@@ -48,15 +48,14 @@ class LLViewerJointCollisionVolume; | |||
48 | class LLPolyMorphData | 48 | class LLPolyMorphData |
49 | { | 49 | { |
50 | public: | 50 | public: |
51 | LLPolyMorphData(char *morph_name); | 51 | LLPolyMorphData(const std::string& morph_name); |
52 | ~LLPolyMorphData(); | 52 | ~LLPolyMorphData(); |
53 | 53 | ||
54 | BOOL loadBinary(LLFILE* fp, LLPolyMeshSharedData *mesh); | 54 | BOOL loadBinary(LLFILE* fp, LLPolyMeshSharedData *mesh); |
55 | char* loadASCII(char* text, LLPolyMeshSharedData *mesh); | 55 | const std::string& getName() { return mName; } |
56 | char* getName() { return mName; } | ||
57 | 56 | ||
58 | public: | 57 | public: |
59 | char* mName; | 58 | std::string mName; |
60 | 59 | ||
61 | // morphology | 60 | // morphology |
62 | U32 mNumIndices; | 61 | U32 mNumIndices; |
@@ -98,10 +97,10 @@ protected: | |||
98 | //----------------------------------------------------------------------------- | 97 | //----------------------------------------------------------------------------- |
99 | struct LLPolyVolumeMorphInfo | 98 | struct LLPolyVolumeMorphInfo |
100 | { | 99 | { |
101 | LLPolyVolumeMorphInfo(LLString &name, LLVector3 &scale, LLVector3 &pos) | 100 | LLPolyVolumeMorphInfo(std::string &name, LLVector3 &scale, LLVector3 &pos) |
102 | : mName(name), mScale(scale), mPos(pos) {}; | 101 | : mName(name), mScale(scale), mPos(pos) {}; |
103 | 102 | ||
104 | LLString mName; | 103 | std::string mName; |
105 | LLVector3 mScale; | 104 | LLVector3 mScale; |
106 | LLVector3 mPos; | 105 | LLVector3 mPos; |
107 | }; | 106 | }; |
@@ -130,7 +129,7 @@ public: | |||
130 | /*virtual*/ BOOL parseXml(LLXmlTreeNode* node); | 129 | /*virtual*/ BOOL parseXml(LLXmlTreeNode* node); |
131 | 130 | ||
132 | protected: | 131 | protected: |
133 | LLString mMorphName; | 132 | std::string mMorphName; |
134 | BOOL mIsClothingMorph; | 133 | BOOL mIsClothingMorph; |
135 | typedef std::vector<LLPolyVolumeMorphInfo> volume_info_list_t; | 134 | typedef std::vector<LLPolyVolumeMorphInfo> volume_info_list_t; |
136 | volume_info_list_t mVolumeInfoList; | 135 | volume_info_list_t mVolumeInfoList; |