diff options
author | vng <viktor.govako@gmail.com> | 2011-02-05 02:31:46 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:38 +0300 |
commit | 3f869a3c193dc1136fc137a601eeecd5cf60bc1a (patch) | |
tree | f496b96785f8837cb275af912026a1ad3ae8b04a /indexer/feature.cpp | |
parent | 910964da8546fe678e0e42aa07275268dfbab2b5 (diff) |
Feature geometry size optimization : make triangles Encoding\Decoding as binary tree.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 511a621bda..4d40732657 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -868,7 +868,7 @@ uint32_t FeatureType::ParseTriangles(int scale) const ReaderSource<FileReader> src( m_cont->GetReader(feature::GetTagForIndex(TRIANGLE_FILE_TAG, ind))); src.Skip(m_trgOffsets[ind]); - feature::LoadTriangles(m_Triangles, m_base, src); + serial::LoadOuterTriangles(src, m_base, m_Triangles); sz = static_cast<uint32_t>(src.Pos() - m_trgOffsets[ind]); } |