From af8eb800e6358b68782e6d1cdbb3cbc414ec570e Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 8 Mar 2019 14:15:02 -0500 Subject: [PATCH] Make Top Objeccts Focus work Thanks for the grid to test on, Bitten! --- indra/newview/llfloatertopobjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloatertopobjects.cpp b/indra/newview/llfloatertopobjects.cpp index 82206513b..a6013fbb3 100644 --- a/indra/newview/llfloatertopobjects.cpp +++ b/indra/newview/llfloatertopobjects.cpp @@ -541,7 +541,7 @@ void LLFloaterTopObjects::onCamToObject() LLVector3d pos_global = getSelectedPosition(); if (pos_global.isExactlyZero()) return; const LLUUID& id = getChild("objects_list")->getFirstSelected()->getUUID(); - gAgentCamera.setFocusGlobal(pos_global, id); + gAgentCamera.setCameraPosAndFocusGlobal(pos_global + LLVector3d(3.5,1.35,0.75), pos_global, id); } void LLFloaterTopObjects::onKick()