diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index 9a26243221..e135c3127a 100755 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -593,6 +593,7 @@ void LLVOCacheEntry::updateParentBoundingInfo(const LLVOCacheEntry* child) update_min_max(newMin, newMax, parent_exts[1]); // Either the next to lines are useless, or there was an assignment missing. + // The lines are unused, using the clamped values causes big items to go poof. // for(S32 i = 0; i < 4; i++) // { @@ -600,9 +601,6 @@ void LLVOCacheEntry::updateParentBoundingInfo(const LLVOCacheEntry* child) // llclamp(newMax[i], 0.f, 256.f); // } - newMin.clamp( LLVector4a( 0.f ), LLVector4a( 256.f ) ); - newMax.clamp( LLVector4a( 0.f ), LLVector4a( 256.f ) ); - // setSpatialExtents(newMin, newMax);