diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-27 13:08:39 +0300 |
---|---|---|
committer | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-27 19:55:18 +0300 |
commit | 8dc4d668908ef0019c28083836d41cfeaa9f040b (patch) | |
tree | 5074dce54e25d225b779a45331d9ec8e2d4aa4f6 /indexer/osm_editor.cpp | |
parent | 0f0ad7dbb5aea1736f50dfdb07f94400e8cd0e5f (diff) |
Take into account created features while saving.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r-- | indexer/osm_editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index 6c10850a1a..b737c6aace 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -329,6 +329,11 @@ Editor::FeatureStatus Editor::GetFeatureStatus(MwmSet::MwmId const & mwmId, uint return featureInfo->m_status; } +Editor::FeatureStatus Editor::GetFeatureStatus(FeatureID const & fid) const +{ + return GetFeatureStatus(fid.m_mwmId, fid.m_index); +} + bool Editor::IsFeatureUploaded(MwmSet::MwmId const & mwmId, uint32_t index) const { return GetFeatureTypeInfo(mwmId, index)->m_uploadStatus == kUploaded; |