aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvovolume.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/newview/llvovolume.cpp b/linden/indra/newview/llvovolume.cpp
index 3716a76..b70dd23 100644
--- a/linden/indra/newview/llvovolume.cpp
+++ b/linden/indra/newview/llvovolume.cpp
@@ -68,7 +68,8 @@
68const S32 MIN_QUIET_FRAMES_COALESCE = 30; 68const S32 MIN_QUIET_FRAMES_COALESCE = 30;
69const F32 FORCE_SIMPLE_RENDER_AREA = 512.f; 69const F32 FORCE_SIMPLE_RENDER_AREA = 512.f;
70const F32 FORCE_CULL_AREA = 8.f; 70const F32 FORCE_CULL_AREA = 8.f;
71const S32 SCULPT_REZ = 64; 71// sadly - we can't lower sculptie rez below b/c residents have a LOT of content that depends on the 128
72const S32 SCULPT_REZ = 128;
72 73
73BOOL gAnimateTextures = TRUE; 74BOOL gAnimateTextures = TRUE;
74extern BOOL gHideSelectedObjects; 75extern BOOL gHideSelectedObjects;
@@ -530,7 +531,13 @@ void LLVOVolume::updateTextures()
530 gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_VOLUME, FALSE); 531 gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_VOLUME, FALSE);
531 mSculptChanged = TRUE; 532 mSculptChanged = TRUE;
532 } 533 }
533 534
535 if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_SCULPTED))
536 {
537 setDebugText(llformat("T%d C%d V%d\n%dx%d",
538 texture_discard, current_discard, getVolume()->getSculptLevel(),
539 mSculptTexture->getHeight(), mSculptTexture->getWidth()));
540 }
534 } 541 }
535 542
536 543