From 7bbfa035c0fd1b52141e88b0579e6f6982afeba0 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 16 Apr 2018 20:10:48 +0300 Subject: [PATCH] [generator] Disable fake types for lines --- indexer/feature_visibility.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 8d6d16067e..d4f1b6f30f 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -254,8 +254,11 @@ namespace if (wheelchair == type && typeLength == 2) return true; - if (sponsored == type || internet == type || event == type) - return true; + if (g != GEOM_LINE) + { + if (sponsored == type || internet == type || event == type) + return true; + } return false; }