From fef681be7c74c4ab5a07b637071a7ad2b06102d3 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Tue, 4 Sep 2012 12:54:47 +0200 Subject: [PATCH] Fix annoyance in debug build on OpenSim --- indra/newview/llface.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 5b7509d54..c42846b6f 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -758,6 +758,9 @@ static void xform4a(LLVector4a &tex_coord, const LLVector4a& trans, const LLVect bool less_than_max_mag(const LLVector4a& vec) { +#if 1 + return true; +#else LLVector4a MAX_MAG; MAX_MAG.splat(1024.f*1024.f); @@ -767,6 +770,7 @@ bool less_than_max_mag(const LLVector4a& vec) S32 lt = val.lessThan(MAX_MAG).getGatheredBits() & 0x7; return lt == 0x7; +#endif } BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f,