From 0b707d43d1d04808e3354b9bf1dc35d380c286be Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Thu, 8 Sep 2011 20:50:39 -0700 Subject: Backout of the sculptie derender patch ported from FireStorm This also reverts 14f4622c and 534767ef --- linden/indra/newview/llvovolume.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'linden/indra/newview/llvovolume.cpp') diff --git a/linden/indra/newview/llvovolume.cpp b/linden/indra/newview/llvovolume.cpp index b422c51..d580d61 100644 --- a/linden/indra/newview/llvovolume.cpp +++ b/linden/indra/newview/llvovolume.cpp @@ -79,9 +79,6 @@ F32 LLVOVolume::sLODFactor = 1.f; F32 LLVOVolume::sLODSlopDistanceFactor = 0.5f; //Changing this to zero, effectively disables the LOD transition slop F32 LLVOVolume::sDistanceFactor = 1.0f; S32 LLVOVolume::sNumLODChanges = 0; -F32 LLVOVolume::sSculptSAThresh = 1750.f; -F32 LLVOVolume::sSculptSAMax = 50000.f; - LLVOVolume::LLVOVolume(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) : LLViewerObject(id, pcode, regionp), @@ -709,7 +706,7 @@ BOOL LLVOVolume::setVolume(const LLVolumeParams &volume_params, const S32 detail } else { - mSculptSurfaceArea = 0.0; + mSculptSurfaceArea = 0.f; } return TRUE; @@ -2322,20 +2319,6 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) LLVOVolume* vobj = drawablep->getVOVolume(); llassert_always(vobj); - - if (vobj->isSculpted() && vobj->mSculptSurfaceArea > LLVOVolume::sSculptSAThresh) - { - LLPipeline::sSculptSurfaceAreaFrame += vobj->mSculptSurfaceArea; - if (LLPipeline::sSculptSurfaceAreaFrame > LLVOVolume::sSculptSAMax) - { - LL_DEBUGS("Volume") << "Sculptie (" - << vobj->getID() << ") above RenderSculptSAMax (" - << LLVOVolume::sSculptSAMax - << ")! Turning invisible!" - << LL_ENDL; - continue; - } - } vobj->updateTextureVirtualSize(); vobj->preRebuild(); -- cgit v1.1