forked from organicmaps/organicmaps
Add TODO and put editor:: to MigrateFeatureIndex
This commit is contained in:
parent
2510d87a99
commit
b556f22b98
1 changed files with 7 additions and 3 deletions
|
@ -335,10 +335,14 @@ void Editor::LoadMapEdits()
|
|||
try
|
||||
{
|
||||
XMLFeature const xml(nodeOrWay.node());
|
||||
auto const fid = needMigrateEdits
|
||||
? MigrateFeatureIndex(m_forEachFeatureAtPointFn, xml)
|
||||
: FeatureID(mwmId, xml.GetMWMFeatureIndex());
|
||||
|
||||
// TODO(mgsergio):
|
||||
// if (needMigrateEdits && TimestampOf(mwm) >= UploadTimestamp(xml))
|
||||
// remove that fature from edits.xml.
|
||||
|
||||
auto const fid = needMigrateEdits
|
||||
? editor::MigrateFeatureIndex(m_forEachFeatureAtPointFn, xml)
|
||||
: FeatureID(mwmId, xml.GetMWMFeatureIndex());
|
||||
FeatureTypeInfo & fti = m_features[fid.m_mwmId][fid.m_index];
|
||||
|
||||
if (section.first == FeatureStatus::Created)
|
||||
|
|
Loading…
Add table
Reference in a new issue