diff --git a/drape_frontend/frontend_renderer.cpp b/drape_frontend/frontend_renderer.cpp index 2bd1932537..cf1b1097e4 100755 --- a/drape_frontend/frontend_renderer.cpp +++ b/drape_frontend/frontend_renderer.cpp @@ -397,8 +397,9 @@ void FrontendRenderer::AcceptMessage(ref_ptr message) case Message::FollowRoute: { - ref_ptr msg = message; - m_myPositionController->NextMode(msg->GetPreferredZoomLevel()); + ref_ptr const msg = message; + m_myPositionController->NextMode(!m_enable3dInNavigation ? msg->GetPreferredZoomLevel() + : msg->GetPreferredZoomLevelIn3d()); if (m_enable3dInNavigation) AddUserEvent(Enable3dModeEvent(msg->GetRotationAngle(), msg->GetAngleFOV())); break; diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp index 1ae9dfd428..e365641683 100644 --- a/geometry/screenbase.cpp +++ b/geometry/screenbase.cpp @@ -255,8 +255,8 @@ void ScreenBase::ExtractGtoPParams(MatrixT const & m, } // Place the camera at the distance, where it gives the same view of plane as the -// orthogonal projection does. Calculate the expanded area of the visible map plane -// after rotation through maxRotationAngle around its near horizontal side. +// orthogonal projection does. Calculate what part of the map would be visible, +// when it is rotated through maxRotationAngle around its near horizontal side. void ScreenBase::ApplyPerspective(double currentRotationAngle, double maxRotationAngle, double angleFOV) { ASSERT_NOT_EQUAL(angleFOV, 0.0, ());