diff options
author | Alex Zolotarev <alex@maps.me> | 2015-12-22 22:06:08 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:04 +0300 |
commit | a1472b31026ef49f8bc15177d71f085bc212e0c9 (patch) | |
tree | c8cbfe1523749b5200b3638fe4f391b60328c706 /indexer/feature.cpp | |
parent | cc9888f19959c1d4aaab108de9515c8698345462 (diff) |
Correct Editor-compatible FeatureType internals initialization.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 91d65563b5..718f21a246 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -38,8 +38,7 @@ FeatureType FeatureType::FromXML(string const & xml) FeatureType FeatureType::FromXML(editor::XMLFeature const & xml) { FeatureType feature; - feature.m_bTrianglesParsed = false; - feature.m_bPointsParsed = false; + feature.m_bTrianglesParsed = feature.m_bPointsParsed = true; feature.m_center = xml.GetCenter(); |