SL-3278 Wrap debug code into debug option
parent
f9ed4fedab
commit
6f16e6c4e0
|
|
@ -10432,8 +10432,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity()
|
|||
|
||||
// Diagnostic output to identify all avatar-related textures.
|
||||
// Does not affect rendering cost calculation.
|
||||
// Could be wrapped in a debug option if output becomes problematic.
|
||||
if (isSelf())
|
||||
if (isSelf() && debugLoggingEnabled("ARCdetail"))
|
||||
{
|
||||
// print any attachment textures we didn't already know about.
|
||||
for (LLVOVolume::texture_cost_t::iterator it = textures.begin(); it != textures.end(); ++it)
|
||||
|
|
|
|||
Loading…
Reference in New Issue