From 13e55962361d12bba6e374b08ffe93b3a64f29f5 Mon Sep 17 00:00:00 2001 From: Daria Volvenkova Date: Mon, 11 Jan 2016 14:18:56 +0300 Subject: [PATCH] Apply perspective after the drape engine creation only if route following is active. --- map/framework.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/framework.cpp b/map/framework.cpp index f37dd230b7..d38ce54c75 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1292,7 +1292,7 @@ void Framework::CreateDrapeEngine(ref_ptr contextFactory, if (m_routingSession.IsActive()) { InsertRoute(m_routingSession.GetRoute()); - if (allow3d) + if (allow3d && m_routingSession.IsFollowing()) m_drapeEngine->EnablePerspective(kRotationAngle, kAngleFOV); } }