forked from organicmaps/organicmaps-tmp
Correct Editor-compatible FeatureType internals initialization.
This commit is contained in:
parent
cc9888f199
commit
a1472b3102
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue