From c4ab9650d2ab34acd7e1ab247dde2dd14417b9f7 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Thu, 15 Jan 2009 20:06:42 -0600 Subject: VWR-8012: Avatars rendered too dark. Patch posted by CG Linden --- linden/indra/newview/llvoavatar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linden') diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index 327cd57..d41f72e 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp @@ -5716,7 +5716,9 @@ BOOL LLVOAvatar::loadMeshNodes() // llinfos << "Parsing mesh data for " << type << "..." << llendl; - mesh->setColor( 0.8f, 0.8f, 0.8f, 1.0f ); + // If this isn't set to white (1.0), avatars will *ALWAYS* be darker than their surroundings. + // Do not touch!!! + mesh->setColor( 1.0f, 1.0f, 1.0f, 1.0f ); LLPolyMesh *poly_mesh = NULL; -- cgit v1.1