Applied patch for #37 by anonymous

This commit is contained in:
Siana Gearz
2011-06-05 19:06:54 +02:00
parent ab5b0592a8
commit 37f8a6e00b
2 changed files with 14 additions and 3 deletions

View File

@@ -2,8 +2,19 @@
<llsd>
<map>
<!-- Ascent-Specific Settings -->
<key>SianaRenderOmitBlankVBO</key>
<key>SingularityBoldGroupModerator</key>
<map>
<key>Comment</key>
<string>Should group moderator chat be displayed in bold</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>SianaRenderOmitBlankVBO</key>
<map>
<key>Comment</key>
<string>Optimization: omit prefilling VBOs with zeroes. Default: OFF</string>

View File

@@ -1668,7 +1668,7 @@ void LLFloaterIMPanel::addHistoryLine(const std::string &utf8msg, LLColor4 incol
}
//Kadah - Bold group mods chat. Doesnt work on the first msg of the session, dont have speakers list yet?
if (isModerator(source))
if (gSavedSettings.getBOOL("SingularityBoldGroupModerator") && isModerator(source))
{
mHistoryEditor->appendColoredText(utf8msg.substr(0,1), false, prepend_newline, color);
LLStyleSP style(new LLStyle);