From 72fdde2c0d4f2c60969e52dc64b6f499dabdbe04 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Thu, 5 Dec 2013 14:34:59 -0700 Subject: revert f24e495149fc, the fix for SH-4627: "Object out of range" is not detected on teleport. --- indra/newview/lldrawable.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'indra/newview/lldrawable.cpp') 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); -- cgit v1.3