forked from organicmaps/organicmaps
[indexer] Do not reset geometry for features created from MapObjects.
This commit is contained in:
parent
e2dd32a241
commit
2016710b9e
1 changed files with 4 additions and 0 deletions
|
@ -402,6 +402,10 @@ void FeatureType::ParseHeader2()
|
|||
|
||||
void FeatureType::ResetGeometry()
|
||||
{
|
||||
// Do not reset geometry for features created from MapObjects.
|
||||
if (!m_loadInfo)
|
||||
return;
|
||||
|
||||
m_points.clear();
|
||||
m_triangles.clear();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue