summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-22 17:24:10 -0500
committerDave Parks <davep@lindenlab.com>2011-03-22 17:24:10 -0500
commit89e09646824122e20194400e93bcdb0b212f96fe (patch)
treeef91c0fe1d81a9e338ee16dd98d759f6980d113a /indra/newview/llmeshrepository.h
parent380f9402557aaa3e1f5b6902f0aef52608f114ea (diff)
parent6ff87e2840c585711e2927028a11ba5ce78a192a (diff)
merge
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r--indra/newview/llmeshrepository.h6
1 files changed, 6 insertions, 0 deletions
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<LLImportMaterial> mMaterial;
@@ -121,8 +124,11 @@ public:
LLModelInstance(LLModel* model, const std::string& label, LLMatrix4& transform, std::vector<LLImportMaterial>& materials)
: mModel(model), mLabel(label), mTransform(transform), mMaterial(materials)
{
+ mLocalMeshID = -1;
}
+ LLModelInstance(LLSD& data);
+
LLSD asLLSD();
};