diff options
author | Dave Houlton <euclid@lindenlab.com> | 2020-08-18 20:24:25 +0000 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2020-08-18 20:24:25 +0000 |
commit | 60eaa353a9e6acd9bec032cd408c570c28024e09 (patch) | |
tree | 123671904c3b349b3f557483a4a98781ce03943a /indra/newview/llfloaterjoystick.cpp | |
parent | 2c964e82f5ac42fbb86f551783dfb04fcdfaf460 (diff) | |
parent | 9f0da75332fcbb1bc97812baf67900702d6ced85 (diff) |
Merged in DV497-merge-6.4.8 (pull request #244)
Merge master 6.4.8 into DRTVWR-497
Diffstat (limited to 'indra/newview/llfloaterjoystick.cpp')
-rw-r--r-- | indra/newview/llfloaterjoystick.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloaterjoystick.cpp b/indra/newview/llfloaterjoystick.cpp index ee3d633dd0..2b672bc890 100644 --- a/indra/newview/llfloaterjoystick.cpp +++ b/indra/newview/llfloaterjoystick.cpp @@ -61,6 +61,11 @@ static LLTrace::SampleStatHandle<>* sJoystickAxes[6] = LLFloaterJoystick::LLFloaterJoystick(const LLSD& data) : LLFloater(data) { + if (!LLViewerJoystick::getInstance()->isJoystickInitialized()) + { + LLViewerJoystick::getInstance()->init(false); + } + initFromSettings(); } |