diff options
author | vng <viktor.govako@gmail.com> | 2011-11-16 08:18:45 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:08 +0300 |
commit | aa46411283927236a03c06933aba329ea7fbae20 (patch) | |
tree | c6f066cf00edcf62c5c630385df77899b1ae98d1 /indexer/classificator.cpp | |
parent | ad7b270a85b6a18fb31074af6e92359c437079b1 (diff) |
Fix bug with proto rules generation (I forgot about pathtext rule).
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index b7ff913e43..e40345cdb5 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -292,7 +292,11 @@ namespace { static const int visible[3][drule::count_of_rules] = { {0, 0, 1, 1, 1, 0, 0}, // fpoint + #ifdef USE_PROTO_STYLES + {1, 0, 0, 1, 0, 0, 0}, // fline + #else {1, 0, 0, 0, 0, 1, 0}, // fline + #endif {1, 1, 1, 1, 0, 0, 0} // farea }; @@ -412,7 +416,11 @@ bool ClassifObject::IsDrawableLike(FeatureGeoType ft) const static const int visible[3][drule::count_of_rules] = { {0, 0, 1, 1, 1, 0, 0}, // fpoint + #ifdef USE_PROTO_STYLES + {1, 0, 0, 1, 0, 0, 0}, // fline + #else {1, 0, 0, 0, 0, 1, 0}, // fline + #endif {0, 1, 0, 0, 0, 0, 0} // farea (!!! key difference with GetSuitable !!!) }; |