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:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-10-25 14:24:05 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:03:57 +0300
commit61e874b975d9661c2c28ff813bbac7560d8761c2 (patch)
tree026e5c141b9afbce52b3f3ea5892ea19c08e5778 /indexer/classificator.cpp
parentcea2aedf2bec06a700e034d2b0764a04ef3840d0 (diff)
Revert "Merge pull request #1951 from Komzpa/drop_circles"
This reverts commit 76bfb712f9e1b10506f1f9854b125d5da8989799, reversing changes made to a3663831dc4300feb99e1d1e99acc59341412a95.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp
index 0385c160d6..01efd1174c 100644
--- a/indexer/classificator.cpp
+++ b/indexer/classificator.cpp
@@ -242,9 +242,9 @@ namespace
void add_rule(int ft, iter_t i)
{
static const int visible[3][drule::count_of_rules] = {
- { 0, 0, 1, 1, 0, 0 }, // fpoint
- { 1, 0, 0, 0, 1, 0 }, // fline
- { 1, 1, 1, 1, 0, 0 } // farea
+ { 0, 0, 1, 1, 1, 0, 0 }, // fpoint
+ { 1, 0, 0, 0, 0, 1, 0 }, // fline
+ { 1, 1, 1, 1, 1, 0, 0 } // farea
};
if (visible[ft][i->m_type] == 1)
@@ -301,9 +301,9 @@ bool ClassifObject::IsDrawableLike(FeatureGeoType ft) const
ASSERT ( ft <= FEATURE_TYPE_AREA, () );
static const int visible[3][drule::count_of_rules] = {
- {0, 0, 1, 1, 0, 0}, // fpoint
- {1, 0, 0, 0, 1, 0}, // fline
- {0, 1, 0, 0, 0, 0} // farea (!!! key difference with GetSuitable !!!)
+ {0, 0, 1, 1, 1, 0, 0}, // fpoint
+ {1, 0, 0, 0, 0, 1, 0}, // fline
+ {0, 1, 0, 0, 0, 0, 0} // farea (!!! key difference with GetSuitable !!!)
};
for (size_t i = 0; i < m_drawRule.size(); ++i)