From 66d50e06b23cd9576e59c8328bfb2dd333cfa3ed Mon Sep 17 00:00:00 2001 From: Nicky Date: Sun, 19 Apr 2015 00:09:52 +0200 Subject: [PATCH] Fix for 45352/45ef3c3e352e, two choices, chance of 50/50, I picked the wrong one first try. --- indra/newview/llvocache.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);