From 36fc19a3d2554bdc931b79bbf20d7d0b3a5b8213 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Tue, 22 Mar 2016 13:23:07 +0300 Subject: [PATCH] [editor] Remove atm fields --- data/editor.config | 7 ++++--- editor/editor_config.cpp | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/editor.config b/data/editor.config index c9d1273757..d66b43ad97 100644 --- a/data/editor.config +++ b/data/editor.config @@ -135,14 +135,15 @@ - + - + + @@ -157,7 +158,7 @@ - + diff --git a/editor/editor_config.cpp b/editor/editor_config.cpp index 73480f6676..eaa70d2faf 100644 --- a/editor/editor_config.cpp +++ b/editor/editor_config.cpp @@ -61,6 +61,7 @@ bool TypeDescriptionFromXml(pugi::xml_node const & root, pugi::xml_node const & return; } + // TODO(mgsergio): Add support for non-metadata fields like atm, wheelchair, toilet etc. auto const it = kNamesToFMD.find(fieldName); ASSERT(it != end(kNamesToFMD), ("Wrong field:", fieldName)); outDesc.m_editableFields.push_back(it->second);