forked from organicmaps/organicmaps
[editor] Fixed bug with feature loading.
This commit is contained in:
parent
daef6c4a39
commit
b0256caf98
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void Editor::LoadMapEdits()
|
|||
try
|
||||
{
|
||||
XMLFeature const xml(nodeOrWay.node());
|
||||
uint32_t const featureIndex = mapVersion < id.GetInfo()->GetVersion() ? xml.GetMWMFeatureIndex() : MigrateFeatureIndex(xml);
|
||||
uint32_t const featureIndex = mapVersion == id.GetInfo()->GetVersion() ? xml.GetMWMFeatureIndex() : MigrateFeatureIndex(xml);
|
||||
FeatureID const fid(id, featureIndex);
|
||||
|
||||
FeatureTypeInfo & fti = m_features[id][fid.m_index];
|
||||
|
|
Loading…
Add table
Reference in a new issue