SL-443 keybindings: Do not error on unknown function

It is likely be from newer viewer / Preparations for SL-443 deloyment.
meow-7.2.2
Andrey Kleshchev 2021-07-15 18:37:02 +03:00
parent 396c8bb9fe
commit 0bcf150d4e
1 changed files with 2 additions and 2 deletions

View File

@ -1070,7 +1070,7 @@ BOOL LLViewerInput::bindKey(const S32 mode, const KEY key, const MASK mask, cons
if (!function)
{
LL_ERRS() << "Can't bind key to function " << function_name << ", no function with this name found" << LL_ENDL;
LL_WARNS() << "Can't bind key to function " << function_name << ", no function with this name found" << LL_ENDL;
return FALSE;
}
@ -1112,7 +1112,7 @@ BOOL LLViewerInput::bindMouse(const S32 mode, const EMouseClickType mouse, const
if (!function)
{
LL_ERRS() << "Can't bind key to function " << function_name << ", no function with this name found" << LL_ENDL;
LL_WARNS() << "Can't bind mouse key to function " << function_name << ", no function with this name found" << LL_ENDL;
return FALSE;
}