Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2014-11-11 14:19:26 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:32:28 +0300
commita9ebee6dc3f72164af815feb1aa8ec420f0c0a97 (patch)
treea5d73c56c93e949be7a65dca64070f86dd3087c7 /indexer/feature_loader_base.cpp
parent098f95ab8235710d2a555a17e640b407b6c09153 (diff)
[generator] Do cover feature for the best geometry always, because it’s indexed once for the first visible scale.
Diffstat (limited to 'indexer/feature_loader_base.cpp')
-rw-r--r--indexer/feature_loader_base.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/feature_loader_base.cpp b/indexer/feature_loader_base.cpp
index bc69121361..1a6ebca998 100644
--- a/indexer/feature_loader_base.cpp
+++ b/indexer/feature_loader_base.cpp
@@ -74,6 +74,12 @@ void LoaderBase::Init(BufferT data)
m_pF = 0;
m_CommonOffset = m_Header2Offset = 0;
+
+ ResetGeometry();
+}
+
+void LoaderBase::ResetGeometry()
+{
m_ptsSimpMask = 0;
m_ptsOffsets.clear();