diff options
author | vng <viktor.govako@gmail.com> | 2011-11-14 23:44:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:27:52 +0300 |
commit | 6d4e795f01a7235be2df68babcf968f72dd95694 (patch) | |
tree | 9520453ec69d1e45714de290be6ee2da77796898 /indexer/classificator.cpp | |
parent | 6f31774ce443b05026ab1e7a335ba65820bbba67 (diff) |
- Writing and Reading of proto drawing rules.
- New rules file: drules_proto.txt
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index 179b740268..b7ff913e43 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -80,7 +80,10 @@ void ClassifObject::LoadPolicy::Serialize(string const & s) // load drawing rule drule::Key key; key.fromString(s); + +#ifndef USE_PROTO_STYLES p->m_drawRule.push_back(key); +#endif // mark as visible in rule's scale p->m_visibility[key.m_scale] = true; |