summaryrefslogtreecommitdiff
path: root/indra/newview/llpolymesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpolymesh.h')
-rw-r--r--indra/newview/llpolymesh.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llpolymesh.h b/indra/newview/llpolymesh.h
index 3cf4acb0fa..8003c4a89d 100644
--- a/indra/newview/llpolymesh.h
+++ b/indra/newview/llpolymesh.h
@@ -224,7 +224,9 @@ public:
}
// Get coords
- const LLVector3 *getCoords() const;
+ const LLVector3 *getCoords() const{
+ return mCoords;
+ }
// non const version
LLVector3 *getWritableCoords();
@@ -273,7 +275,10 @@ public:
}
// Get weights
- const F32 *getWeights() const;
+ const F32 *getWeights() const {
+ llassert (mSharedData);
+ return mSharedData->mWeights;
+ }
F32 *getWritableWeights() const;