diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-08-17 20:06:49 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-08-17 20:06:49 -0400 |
commit | 3d7ae2b2f289ea0cbb8f430d1674782dc18af403 (patch) | |
tree | 61924416fe7e6fdbc74790ea52299d5fbb3315f2 /indra/newview/llfloatertools.cpp | |
parent | 2a57da233423ca3531bfcec2e138023afead4c3f (diff) | |
parent | 1be63209331d509396bd7ee79302d511fe83d72e (diff) |
merge
Diffstat (limited to 'indra/newview/llfloatertools.cpp')
-rwxr-xr-x | indra/newview/llfloatertools.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 7477b02867..6dbb202c9d 100755 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -92,6 +92,7 @@ // Globals LLFloaterTools *gFloaterTools = NULL; bool LLFloaterTools::sShowObjectCost = true; +bool LLFloaterTools::sPreviousFocusOnAvatar = false; const std::string PANEL_NAMES[LLFloaterTools::PANEL_COUNT] = { @@ -891,6 +892,12 @@ void LLFloaterTools::onClose(bool app_quitting) // prepare content for next call mPanelContents->clearContents(); + + if(sPreviousFocusOnAvatar) + { + sPreviousFocusOnAvatar = false; + gAgentCamera.setAllowChangeToFollow(TRUE); + } } void click_popup_info(void*) |