From 2016710b9ee718304774a03ecef17909ccc3fa59 Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Mon, 3 Jun 2019 18:15:25 +0300 Subject: [PATCH] [indexer] Do not reset geometry for features created from MapObjects. --- indexer/feature.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 5e48ddfef4..8642d968ef 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -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();