Fix for 45352/45ef3c3e352e, two choices, chance of 50/50, I picked the wrong one first try.
parent
028b6f6b37
commit
66d50e06b2
|
|
@ -593,6 +593,7 @@ void LLVOCacheEntry::updateParentBoundingInfo(const LLVOCacheEntry* child)
|
|||
update_min_max(newMin, newMax, parent_exts[1]);
|
||||
|
||||
// <FS:ND> 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 ) );
|
||||
|
||||
// </FS:ND>
|
||||
|
||||
setSpatialExtents(newMin, newMax);
|
||||
|
|
|
|||
Loading…
Reference in New Issue