summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rwxr-xr-xindra/newview/lldrawable.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 5c42868127..7414b24811 100755
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -968,20 +968,6 @@ void LLDrawable::shiftPos(const LLVector4a &shift_vector)
mVObjp->onShift(shift_vector);
}
-bool LLDrawable::hasVertexBuffer() const
-{
- for (S32 i = 0; i < getNumFaces(); i++)
- {
- LLFace *facep = getFace(i);
- if (facep && facep->getVertexBuffer() != NULL)
- {
- return true;
- }
- }
-
- return false;
-}
-
const LLVector3& LLDrawable::getBounds(LLVector3& min, LLVector3& max) const
{
mXform.getMinMax(min,max);