diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/app_settings/logcontrol.xml | 1 | ||||
-rw-r--r-- | linden/indra/newview/llvovolume.cpp | 14 |
2 files changed, 11 insertions, 4 deletions
diff --git a/linden/indra/newview/app_settings/logcontrol.xml b/linden/indra/newview/app_settings/logcontrol.xml index 50f8ba5..def847b 100644 --- a/linden/indra/newview/app_settings/logcontrol.xml +++ b/linden/indra/newview/app_settings/logcontrol.xml | |||
@@ -87,6 +87,7 @@ | |||
87 | <!--<string>VOAvatar</string>--> | 87 | <!--<string>VOAvatar</string>--> |
88 | <!--<string>View</string>--> | 88 | <!--<string>View</string>--> |
89 | <!--<string>ViewerImages</string>--> | 89 | <!--<string>ViewerImages</string>--> |
90 | <!--<string>Volume</string>--> | ||
90 | <!--<string>TextureCache</string>--> | 91 | <!--<string>TextureCache</string>--> |
91 | <!--<string>Throttle</string>--> | 92 | <!--<string>Throttle</string>--> |
92 | <!--<string>Voice</string>--> | 93 | <!--<string>Voice</string>--> |
diff --git a/linden/indra/newview/llvovolume.cpp b/linden/indra/newview/llvovolume.cpp index 8d5bfb4..77201da 100644 --- a/linden/indra/newview/llvovolume.cpp +++ b/linden/indra/newview/llvovolume.cpp | |||
@@ -2308,16 +2308,22 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) | |||
2308 | 2308 | ||
2309 | LLVOVolume* vobj = drawablep->getVOVolume(); | 2309 | LLVOVolume* vobj = drawablep->getVOVolume(); |
2310 | 2310 | ||
2311 | if (vobj->mSculptSurfaceArea > sSculptSAThresh) | 2311 | llassert_always(vobj); |
2312 | |||
2313 | if (vobj->isSculpted() && vobj->mSculptSurfaceArea > sSculptSAThresh) | ||
2312 | { | 2314 | { |
2313 | LLPipeline::sSculptSurfaceAreaFrame += vobj->mSculptSurfaceArea; | 2315 | LLPipeline::sSculptSurfaceAreaFrame += vobj->mSculptSurfaceArea; |
2314 | if(LLPipeline::sSculptSurfaceAreaFrame > sSculptSAMax) | 2316 | if (LLPipeline::sSculptSurfaceAreaFrame > sSculptSAMax) |
2315 | { | 2317 | { |
2316 | continue; | 2318 | LL_DEBUGS("Volume") << "Sculptie (" |
2319 | << vobj->getID() << ") above RenderSculptSAMax (" | ||
2320 | << sSculptSAMax | ||
2321 | << ")! Turning invisible!" | ||
2322 | << LL_ENDL; | ||
2323 | continue; | ||
2317 | } | 2324 | } |
2318 | } | 2325 | } |
2319 | 2326 | ||
2320 | llassert_always(vobj); | ||
2321 | vobj->updateTextureVirtualSize(); | 2327 | vobj->updateTextureVirtualSize(); |
2322 | vobj->preRebuild(); | 2328 | vobj->preRebuild(); |
2323 | 2329 | ||