Make Top Objeccts Focus work

Thanks for the grid to test on, Bitten!
This commit is contained in:
Lirusaito
2019-03-08 14:15:02 -05:00
parent c37cb7b2c4
commit af8eb800e6

View File

@@ -541,7 +541,7 @@ void LLFloaterTopObjects::onCamToObject()
LLVector3d pos_global = getSelectedPosition();
if (pos_global.isExactlyZero()) return;
const LLUUID& id = getChild<LLScrollListCtrl>("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()