Correct Editor-compatible FeatureType internals initialization.

This commit is contained in:
Alex Zolotarev 2015-12-22 22:06:08 +03:00 committed by Sergey Yershov
parent cc9888f199
commit a1472b3102

View file

@ -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();