diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-08-05 15:40:28 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-08-18 17:06:28 +0300 |
commit | ae0185f13e1d558bf12f27d5171a626421cc9ee2 (patch) | |
tree | 6dee558877b979d46672c42cc94015b914ecbcd2 /drape_frontend/drape_engine.hpp | |
parent | e1c0ae74e88b95a0ba21b247b08f4dd2a200af4c (diff) |
Autozoom initialization after drape engine reinitialization.
Diffstat (limited to 'drape_frontend/drape_engine.hpp')
-rw-r--r-- | drape_frontend/drape_engine.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drape_frontend/drape_engine.hpp b/drape_frontend/drape_engine.hpp index 9e9271a21e..eede48e993 100644 --- a/drape_frontend/drape_engine.hpp +++ b/drape_frontend/drape_engine.hpp @@ -47,7 +47,8 @@ public: bool showChoosePositionMark, vector<m2::TriangleD> && boundAreaTriangles, bool firstLaunch, - bool isRoutingActive) + bool isRoutingActive, + bool isAutozoomEnabled) : m_factory(factory) , m_stringsBundle(stringBundle) , m_viewport(viewport) @@ -61,6 +62,7 @@ public: , m_boundAreaTriangles(move(boundAreaTriangles)) , m_isFirstLaunch(firstLaunch) , m_isRoutingActive(isRoutingActive) + , m_isAutozoomEnabled(isAutozoomEnabled) {} ref_ptr<dp::OGLContextFactory> m_factory; @@ -76,6 +78,7 @@ public: vector<m2::TriangleD> m_boundAreaTriangles; bool m_isFirstLaunch; bool m_isRoutingActive; + bool m_isAutozoomEnabled; }; DrapeEngine(Params && params); |