diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-08-16 10:00:17 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-08-16 11:42:58 +0300 |
commit | 39ef655d53f91b27527bca8b517c0dcaa37ad900 (patch) | |
tree | b05cb0076d9151d55719cb71f43068515c63483d /drape_frontend/route_renderer.cpp | |
parent | 92522e8dc6d03716eecd35735bd00f124fe457a7 (diff) |
Fixed route preview on points deletionbeta-965
Diffstat (limited to 'drape_frontend/route_renderer.cpp')
-rw-r--r-- | drape_frontend/route_renderer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drape_frontend/route_renderer.cpp b/drape_frontend/route_renderer.cpp index f8592eb9b3..f0cd20fde7 100644 --- a/drape_frontend/route_renderer.cpp +++ b/drape_frontend/route_renderer.cpp @@ -452,7 +452,8 @@ void RouteRenderer::RenderRouteArrowData(dp::DrapeID subrouteId, RouteAdditional dp::UniformValuesStorage const & commonUniforms) { if (routeAdditional.m_arrowsData == nullptr || - routeAdditional.m_arrowsData->m_renderProperty.m_buckets.empty()) + routeAdditional.m_arrowsData->m_renderProperty.m_buckets.empty() || + m_hiddenSubroutes.find(subrouteId) != m_hiddenSubroutes.end()) { return; } |