Cleanup and revision to solve Issue 1548: Right click zoom in mouselook resets on left click.
Removes variables tracking right mouse down from lltoolfocus and lltoolcompgun in favor of using the already existing LLViewerWindow::getRightMouseDown()
This commit is contained in:
@@ -751,6 +751,7 @@ void LLViewerCamera::setDefaultFOV(F32 vertical_fov_rads)
|
||||
// <exodus>
|
||||
void LLViewerCamera::loadDefaultFOV()
|
||||
{
|
||||
if (mSavedFOVLoaded) return;
|
||||
setView(mSavedFOVDefault);
|
||||
mSavedFOVLoaded = true;
|
||||
mCameraFOVDefault = mSavedFOVDefault;
|
||||
|
||||
Reference in New Issue
Block a user