diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-09-17 12:44:20 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-09-18 17:22:34 +0300 |
commit | 704d39c684c5c345502c11dd2982d9bb27f95487 (patch) | |
tree | 268d52c06e31bf7bcdaf46d380edc7126a84753f /indexer | |
parent | 412387c84eefba2ec4c267ee2748bf78f03ce327 (diff) |
[generator][indexer] Do not remove invisible cuisine type while mwm building.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_visibility.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 2f293d7af3..bbbf20b4bc 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -233,6 +233,7 @@ namespace static const uint32_t psurface = classif().GetTypeByPath({ "psurface" }); static const uint32_t wheelchair = classif().GetTypeByPath({ "wheelchair" }); static const uint32_t sponsored = classif().GetTypeByPath({ "sponsored" }); + static const uint32_t cuisine = classif().GetTypeByPath({ "cuisine" }); // Reserved for custom event processing, i.e. fc2018. //static const uint32_t event = classif().GetTypeByPath({ "event" }); static const uint32_t internet = classif().GetTypeByPath({ "internet_access" }); @@ -258,6 +259,9 @@ namespace if (wheelchair == type && typeLength == 2) return true; + if (cuisine == type) + return true; + if (g != GEOM_LINE) { if (sponsored == type || internet == type) |