From 6ff87e2840c585711e2927028a11ba5ce78a192a Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Tue, 22 Mar 2011 17:23:48 -0500 Subject: SH-1169 Import from slm instead of dae when appropriate. --- indra/newview/llmeshrepository.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/llmeshrepository.h') diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h index 4d727bf1f2..f0c0f308d5 100644 --- a/indra/newview/llmeshrepository.h +++ b/indra/newview/llmeshrepository.h @@ -102,6 +102,8 @@ public: mDiffuseColor.set(1,1,1,1); } + LLImportMaterial(LLSD& data); + LLSD asLLSD(); }; @@ -114,6 +116,7 @@ public: std::string mLabel; LLUUID mMeshID; + S32 mLocalMeshID; LLMatrix4 mTransform; std::vector mMaterial; @@ -121,8 +124,11 @@ public: LLModelInstance(LLModel* model, const std::string& label, LLMatrix4& transform, std::vector& materials) : mModel(model), mLabel(label), mTransform(transform), mMaterial(materials) { + mLocalMeshID = -1; } + LLModelInstance(LLSD& data); + LLSD asLLSD(); }; -- cgit v1.2.3