Feature Request: Add a setting to control the output of key2name command

AscentCmdLineKeyToNameNameSystem
This commit is contained in:
Liru Færs
2020-01-06 01:57:26 -05:00
parent 760f23b370
commit 1b29210f16
2 changed files with 12 additions and 0 deletions

View File

@@ -236,6 +236,7 @@ struct ProfCtrlListAccum : public LLControlGroup::ApplyFunctor
#endif //PROF_CTRL_CALLS
void spew_key_to_name(const LLUUID& targetKey, const LLAvatarName& av_name)
{
static const LLCachedControl<S32> ns(gSavedSettings, "AscentCmdLineKeyToNameNameSystem");
cmdline_printchat(llformat("%s: %s", targetKey.asString().c_str(), av_name.getNSName().c_str()));
}
bool cmd_line_chat(std::string data, EChatType type)