summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r--indra/newview/llmeshrepository.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h
index adf60c7e03..f237c3a60e 100644
--- a/indra/newview/llmeshrepository.h
+++ b/indra/newview/llmeshrepository.h
@@ -161,6 +161,8 @@ public:
virtual void setStatusMessage(const std::string& msg);
+ bool isValid() const {return mPositions.size() > 2 && mIndices.size() > 2 ;}
+
protected:
//internal use
LLVector3 mBBox[2] ;