From 00903aaa035194f3d22e3e26783713fd1a77c66e Mon Sep 17 00:00:00 2001 From: Lev Dragunov Date: Thu, 4 Feb 2016 15:59:05 +0300 Subject: [PATCH] Exclude displacement for high level objects. --- indexer/displacement_manager.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indexer/displacement_manager.hpp b/indexer/displacement_manager.hpp index 59161d6977..f4974effbd 100644 --- a/indexer/displacement_manager.hpp +++ b/indexer/displacement_manager.hpp @@ -116,6 +116,13 @@ public: for (auto const & node : m_storage) { uint32_t scale = node.m_minScale; + // Do not filter high level objects. + if (scale < 10) + { + AddNodeToSorter(node,scale); + acceptedNodes.Add(node); + continue; + } for (; scale < scales::GetUpperScale(); ++scale) { float const delta = CalculateDeltaForZoom(scale);