Add SinguOwnerSayAsErrors to make llOwnerSay spew to debug console instead
This commit is contained in:
@@ -984,6 +984,17 @@ RIP Latif Khalifa.</string>
|
||||
<key>Value</key>
|
||||
<boolean>1</boolean>
|
||||
</map>
|
||||
<key>SinguOwnerSayAsErrors</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>llOwnerSay will show up in the script error console instead of in chat.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<boolean>0</boolean>
|
||||
</map>
|
||||
<key>SinguPostProcessDefault</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -287,6 +287,11 @@ void LLFloaterChat::addChatHistory(LLChat& chat, bool log_to_file)
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (chat.mChatType == CHAT_TYPE_OWNER && gSavedSettings.getBOOL("SinguOwnerSayAsErrors"))
|
||||
{
|
||||
LLFloaterScriptDebug::addScriptLine(chat, color);
|
||||
return;
|
||||
}
|
||||
|
||||
// could flash the chat button in the status bar here. JC
|
||||
LLFloaterChat* chat_floater = LLFloaterChat::getInstance(LLSD());
|
||||
|
||||
Reference in New Issue
Block a user