diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index f36d6674e7..fc0c0f59d7 100755 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -941,6 +941,11 @@ void LLAgentCamera::cameraZoomIn(const F32 fraction) static LLCachedControl disable_constraints(gSavedSettings,"DisableCameraConstraints"); F32 max_distance = disable_constraints ? INT_MAX : llmin(mDrawDistance - DIST_FUDGE, LLWorld::getInstance()->getRegionWidthInMeters() - DIST_FUDGE ); + + // FIRE-12241: Camera becomes uncontrollable when zooming out + // Not sure why this works, but it's LL's fix. + max_distance = llmin(max_distance, current_distance * 4.f); //Scaled max relative to current distance. MAINT-3154 + // FIRE-12241 if (new_distance > max_distance) {