summaryrefslogtreecommitdiff
path: root/indra/newview/lltexlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltexlayer.cpp')
-rw-r--r--indra/newview/lltexlayer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lltexlayer.cpp b/indra/newview/lltexlayer.cpp
index b376eed814..eea4acf053 100644
--- a/indra/newview/lltexlayer.cpp
+++ b/indra/newview/lltexlayer.cpp
@@ -1336,6 +1336,12 @@ BOOL LLTexLayer::render( S32 x, S32 y, S32 width, S32 height )
LLColor4 net_color;
color_specified = findNetColor( &net_color );
+ if (mTexLayerSet->getAvatar()->mIsDummy)
+ {
+ color_specified = true;
+ net_color = LLVOAvatar::getDummyColor();
+ }
+
// If you can't see the layer, don't render it.
if( is_approx_zero( net_color.mV[VW] ) )
{