diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvovolume.cpp | 11 |
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 @@ | |||
68 | const S32 MIN_QUIET_FRAMES_COALESCE = 30; | 68 | const S32 MIN_QUIET_FRAMES_COALESCE = 30; |
69 | const F32 FORCE_SIMPLE_RENDER_AREA = 512.f; | 69 | const F32 FORCE_SIMPLE_RENDER_AREA = 512.f; |
70 | const F32 FORCE_CULL_AREA = 8.f; | 70 | const F32 FORCE_CULL_AREA = 8.f; |
71 | const 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 |
72 | const S32 SCULPT_REZ = 128; | ||
72 | 73 | ||
73 | BOOL gAnimateTextures = TRUE; | 74 | BOOL gAnimateTextures = TRUE; |
74 | extern BOOL gHideSelectedObjects; | 75 | extern 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 | ||