Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-11-14 23:44:13 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:52 +0300
commit6d4e795f01a7235be2df68babcf968f72dd95694 (patch)
tree9520453ec69d1e45714de290be6ee2da77796898 /indexer/classificator.cpp
parent6f31774ce443b05026ab1e7a335ba65820bbba67 (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.cpp3
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;