mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[feature] Removed IndexFactory class.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com> ^ Conflicts: ^ libs/indexer/data_source.cpp ^ libs/indexer/feature.cpp ^ libs/indexer/features_vector.cpp ^ libs/indexer/mwm_set.hpp
This commit is contained in:
committed by
Konstantin Pastbin
parent
25a4a3b76f
commit
6beabb2fe1
@@ -358,8 +358,6 @@ void FeatureType::ParseHeader2()
|
||||
// For inner geometry remaining 4 bits are not used.
|
||||
if (elemsCount == 0)
|
||||
geomScalesMask = bitSource.Read(4);
|
||||
else
|
||||
ASSERT(headerGeomType == HeaderGeomType::Area || elemsCount > 1, ());
|
||||
}
|
||||
|
||||
ArrayByteSource src(bitSource.RoundPtr());
|
||||
@@ -414,6 +412,7 @@ void FeatureType::ParseHeader2()
|
||||
ReadOffsets(*m_loadInfo, src, geomScalesMask, m_offsets.m_trg);
|
||||
}
|
||||
}
|
||||
|
||||
// Size of the whole header incl. inner geometry / triangles.
|
||||
m_innerStats.m_size = CalcOffset(src, m_data.data());
|
||||
m_parsed.m_header2 = true;
|
||||
|
||||
Reference in New Issue
Block a user