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>2011-10-12 16:54:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:53 +0300
commiteddeb5176f2ff707ced4cea336b29a49bc319be5 (patch)
treea5e00541190a0cc0b517b857bf8aa55aef51b88a /indexer/index_builder.cpp
parentc8325d4b968c95ae75f160f7b294903667bd5cd8 (diff)
Prepare for drawing WorldCoasts in [0-17] scales:
- Use DataHeader::GetLastScale for covering depth calculation - Pass correct scale to ForEachInIntervalAndScale for scale >= 10.
Diffstat (limited to 'indexer/index_builder.cpp')
-rw-r--r--indexer/index_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/index_builder.cpp b/indexer/index_builder.cpp
index 0d26bbd9b9..360cc504e0 100644
--- a/indexer/index_builder.cpp
+++ b/indexer/index_builder.cpp
@@ -24,7 +24,7 @@ namespace indexer
FeaturesVector featuresVector(readCont, header);
- BuildIndex(header.GetLastScale() + 1, header.GetScaleRange(), featuresVector, writer, tmpFile);
+ BuildIndex(header.GetLastScale() + 1, header.GetLastScale(), featuresVector, writer, tmpFile);
}
catch (Reader::Exception const & e)
{