From 05008294b4ad6aa368e42eada7e503e5a41fa57e Mon Sep 17 00:00:00 2001 From: vng Date: Sat, 1 Sep 2012 17:05:40 +0300 Subject: [PATCH] Add some debugging stub. --- map/feature_vec_model.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp index 87290df50f..28fab68fd3 100644 --- a/map/feature_vec_model.cpp +++ b/map/feature_vec_model.cpp @@ -39,7 +39,10 @@ int FeaturesFetcher::AddMap(string const & file) { m2::RectD r; version = m_multiIndex.Add(file, r); - m_rect.Add(r); + + // For debug purposes - add rect for countries only (press 'A' in map view). + //if (file.find("World") == string::npos) + m_rect.Add(r); } catch (RootException const & e) {