diff options
author | vng <viktor.govako@gmail.com> | 2015-10-16 19:52:56 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-10-16 20:12:20 +0300 |
commit | 69c162c00a084879a953e0d0a501b72bdbbebd93 (patch) | |
tree | f596c840c488aa345f1432b43221b9b7191f31cf /indexer/feature_visibility.hpp | |
parent | 855a3205d3a44f33088db2af0045c1678c85008b (diff) |
[generator] Skip features with empty names that have caption-only drawing rules.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r-- | indexer/feature_visibility.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp index 8e4df33ca1..c468140be6 100644 --- a/indexer/feature_visibility.hpp +++ b/indexer/feature_visibility.hpp @@ -28,9 +28,9 @@ namespace feature bool IsDrawableForIndexGeometryOnly(FeatureBase const & f, int level); /// For FEATURE_TYPE_AREA need to have at least one area-filling type. - bool IsDrawableLike(vector<uint32_t> const & types, EGeomType ft); + bool IsDrawableLike(vector<uint32_t> const & types, EGeomType geomType); /// For FEATURE_TYPE_AREA removes line-drawing only types. - bool RemoveNoDrawableTypes(vector<uint32_t> & types, EGeomType ft); + bool RemoveNoDrawableTypes(vector<uint32_t> & types, EGeomType geomType, bool emptyName = false); //@} int GetMinDrawableScale(FeatureBase const & f); |