summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-12-05 14:34:59 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-12-05 14:34:59 -0700
commit72fdde2c0d4f2c60969e52dc64b6f499dabdbe04 (patch)
treee2dd139df50cc60d189679f784df57024746644d /indra/newview/lldrawable.cpp
parent526be23096671e8916ec2b5644a46020f33479a8 (diff)
revert f24e495149fc, the fix for SH-4627: "Object out of range" is not detected on teleport.
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);