diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-14 15:52:26 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-14 15:52:26 -0500 |
commit | 5f8110a68ed2fdfe70e2dbd7363f1194b0f3e67d (patch) | |
tree | a671f7f7a5e93a7fe63e200ede5467ecd26d8210 /indra/llprimitive/llmodel.h | |
parent | 4351160958efa1c352e8af1ab3f48c1486ba9c5c (diff) |
SH-439 FIX: track name requested in UI separately, so we can fall back to name from dae if needed
Diffstat (limited to 'indra/llprimitive/llmodel.h')
-rwxr-xr-x[-rw-r--r--] | indra/llprimitive/llmodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h index b81bc662a0..9cc734ff59 100644..100755 --- a/indra/llprimitive/llmodel.h +++ b/indra/llprimitive/llmodel.h @@ -100,6 +100,7 @@ public: static LLModel* loadModelFromDae(std::string filename); static LLModel* loadModelFromDomMesh(domMesh* mesh); static std::string getElementLabel(daeElement* element); + std::string getName() const; void appendFaces(LLModel* model, LLMatrix4& transform, LLMatrix4& normal_transform); void appendFace(const LLVolumeFace& src_face, std::string src_material, LLMatrix4& mat, LLMatrix4& norm_mat); @@ -185,7 +186,8 @@ public: LLMatrix4 mBindShapeMatrix; std::vector<LLMatrix4> mInvBindMatrix; std::vector<LLMatrix4> mAlternateBindMatrix; - std::string mLabel; + std::string mRequestedLabel; // name requested in UI, if any. + std::string mLabel; // name computed from dae. LLVector3 mNormalizedScale; LLVector3 mNormalizedTranslation; |