diff --git a/indra/newview/app_settings/settings_ascent_coa.xml b/indra/newview/app_settings/settings_ascent_coa.xml index 2cb809679..31290185b 100644 --- a/indra/newview/app_settings/settings_ascent_coa.xml +++ b/indra/newview/app_settings/settings_ascent_coa.xml @@ -204,6 +204,24 @@ IsCOA 1 + MapAvatar + + Comment + Color for map dots of residents who don't qualify for any color else. + Persist + 1 + Type + Color4 + Value + + 0.0 + 1.0 + 0.0 + 1.0 + + IsCOA + 1 + ColorFriendChat Comment diff --git a/indra/newview/ascentprefsvan.cpp b/indra/newview/ascentprefsvan.cpp index 869b4026a..33a3a12be 100644 --- a/indra/newview/ascentprefsvan.cpp +++ b/indra/newview/ascentprefsvan.cpp @@ -187,6 +187,7 @@ void LLPrefsAscentVan::refreshValues() mEstateOwnerColor = gSavedSettings.getColor4("AscentEstateOwnerColor"); mLindenColor = gSavedSettings.getColor4("AscentLindenColor"); mMutedColor = gSavedSettings.getColor4("AscentMutedColor"); + mMapAvatarColor = gSavedSettings.getColor4("MapAvatar"); mCustomColor = gSavedSettings.getColor4("MoyMiniMapCustomColor"); mColorFriendChat = gSavedSettings.getBOOL("ColorFriendChat"); mColorEOChat = gSavedSettings.getBOOL("ColorEstateOwnerChat"); @@ -258,6 +259,7 @@ void LLPrefsAscentVan::cancel() gSavedSettings.setColor4("AscentEstateOwnerColor", mEstateOwnerColor); gSavedSettings.setColor4("AscentLindenColor", mLindenColor); gSavedSettings.setColor4("AscentMutedColor", mMutedColor); + gSavedSettings.setColor4("MapAvatar", mMapAvatarColor); gSavedSettings.setColor4("MoyMiniMapCustomColor", mCustomColor); gSavedSettings.setBOOL("ColorFriendChat", mColorFriendChat); gSavedSettings.setBOOL("ColorEstateOwnerChat", mColorEOChat); diff --git a/indra/newview/ascentprefsvan.h b/indra/newview/ascentprefsvan.h index 5ec08c605..5d0c6af44 100644 --- a/indra/newview/ascentprefsvan.h +++ b/indra/newview/ascentprefsvan.h @@ -84,6 +84,7 @@ protected: LLColor4 mEstateOwnerColor; LLColor4 mLindenColor; LLColor4 mMutedColor; + LLColor4 mMapAvatarColor; LLColor4 mCustomColor; bool mColorFriendChat; bool mColorEOChat; diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index 7094c67b1..0f3c9a32b 100644 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -375,7 +375,7 @@ void LLNetMap::draw() // Draw avatars // LLColor4 mapcolor = gAvatarMapColor; - static const LLCachedControl standard_color(gColors,"MapAvatar",LLColor4(0.f,1.f,0.f,1.f)); + static const LLCachedControl standard_color("MapAvatar",LLColor4(0.f,1.f,0.f,1.f)); static const LLCachedControl friend_color_stored("AscentFriendColor",LLColor4(1.f,1.f,0.f,1.f)); static const LLCachedControl em_color("AscentEstateOwnerColor",LLColor4(1.f,0.6f,1.f,1.f)); static const LLCachedControl linden_color("AscentLindenColor",LLColor4(0.f,0.f,1.f,1.f)); diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index b9a729315..fe05a02da 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -1204,7 +1204,7 @@ void LLWorldMapView::drawAgents() { F32 agents_scale = (sMapScale * 0.9f) / 256.f; - LLColor4 avatar_color = gColors.getColor( "MapAvatar" ); + LLColor4 avatar_color = gSavedSettings.getColor( "MapAvatar" ); // LLColor4 friend_color = gColors.getColor( "MapFriend" ); for (handle_list_t::iterator iter = mVisibleRegions.begin(); iter != mVisibleRegions.end(); ++iter) diff --git a/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_vanity.xml b/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_vanity.xml index 47f2aa065..afe08c144 100644 --- a/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_vanity.xml +++ b/indra/newview/skins/default/xui/en-us/panel_preferences_ascent_vanity.xml @@ -45,6 +45,7 @@ + Use colors for chat: