forked from organicmaps/organicmaps
Apply perspective after the drape engine creation only if route following is active.
This commit is contained in:
parent
7908dbf3df
commit
13e5596236
1 changed files with 1 additions and 1 deletions
|
@ -1292,7 +1292,7 @@ void Framework::CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory,
|
|||
if (m_routingSession.IsActive())
|
||||
{
|
||||
InsertRoute(m_routingSession.GetRoute());
|
||||
if (allow3d)
|
||||
if (allow3d && m_routingSession.IsFollowing())
|
||||
m_drapeEngine->EnablePerspective(kRotationAngle, kAngleFOV);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue