summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinput.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-11-12 14:08:01 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-11-12 14:08:01 +0200
commit0c8f561910cf967d546a7a66ab7e3edcc2ca320e (patch)
treee7ccb4cca277cff43d9542a26a0536e6f7c98046 /indra/newview/llviewerinput.cpp
parentf680e5913ab490a0b2f86ce0ec44ca59d56fb32d (diff)
SL-6109 Mouse localization support
Diffstat (limited to 'indra/newview/llviewerinput.cpp')
-rw-r--r--indra/newview/llviewerinput.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp
index a267678bb3..0718a27696 100644
--- a/indra/newview/llviewerinput.cpp
+++ b/indra/newview/llviewerinput.cpp
@@ -922,7 +922,8 @@ LLViewerInput::LLViewerInput()
}
}
-BOOL LLViewerInput::modeFromString(const std::string& string, S32 *mode) const
+// static
+BOOL LLViewerInput::modeFromString(const std::string& string, S32 *mode)
{
if (string == "FIRST_PERSON")
{
@@ -951,7 +952,8 @@ BOOL LLViewerInput::modeFromString(const std::string& string, S32 *mode) const
}
}
-BOOL LLViewerInput::mouseFromString(const std::string& string, EMouseClickType *mode) const
+// static
+BOOL LLViewerInput::mouseFromString(const std::string& string, EMouseClickType *mode)
{
if (string == "LMB")
{