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/drawing_rules.cpp | |
parent | ad7b270a85b6a18fb31074af6e92359c437079b1 (diff) |
Fix bug with proto rules generation (I forgot about pathtext rule).
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp index 3b39fb2c9f..979b676f2b 100644 --- a/indexer/drawing_rules.cpp +++ b/indexer/drawing_rules.cpp @@ -1202,7 +1202,7 @@ namespace for (size_t i = 0; i < keys.size(); ++i) { // skip unnecessary trash - if (keys[i].m_type > circle) + if (keys[i].m_type == waymarker) continue; if (pDE == 0 || pDE->scale() != keys[i].m_scale) @@ -1227,6 +1227,7 @@ namespace Convert(pRule, keys[i].m_priority, pDE->mutable_symbol()); break; case caption: + case pathtext: Convert(pRule, keys[i].m_priority, pDE->mutable_caption()); break; case circle: |