diff options
author | Rider Linden <rider@lindenlab.com> | 2015-08-25 11:40:36 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-08-25 11:40:36 -0700 |
commit | 96bb17f20bbcdc595f3a615a3129e134595b3a4a (patch) | |
tree | e51e47f79b78a076e821360763196cc72c154aad /indra/newview/llfloatertools.cpp | |
parent | 7c61728b4bae928b2461f0f933dd1c1fa34ef0aa (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*) |