diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-08-02 11:43:20 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-08-02 19:18:42 +0300 |
commit | 98b7a126cff40aa63dfcfa6ca193e0103e509e94 (patch) | |
tree | d1c4b288e05fab69babccd8e7e8066398debbdd8 /map | |
parent | 0deff0b51adfe7d0a890a18dc7490cb119c3e57d (diff) |
Fixed PixelRectIn3d usage
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 7a6cbfde1d..b61215d3cf 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1178,8 +1178,7 @@ void Framework::ShowAll() m2::PointD Framework::GetPixelCenter() const { - return m_currentModelView.isPerspective() ? m_currentModelView.PixelRectIn3d().Center() - : m_currentModelView.PixelRect().Center(); + return m_currentModelView.PixelRectIn3d().Center(); } m2::PointD Framework::GetVisiblePixelCenter() const |