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:
authorYuri Gorshenin <y@maps.me>2015-04-27 16:42:27 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:47:19 +0300
commitebcbdafa351cc333f958dac2bedd3876d399f95c (patch)
tree70f33e09821fbb12c3fa0970220cc133ec5e8dd0 /drape_head/testing_engine.cpp
parent4687d0dd3da2dc7328e52115f1d315c869967260 (diff)
Implemented new mwm info table.
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r--drape_head/testing_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index 3e469f635d..49676a8b88 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -234,7 +234,7 @@ private:
MapShape * CreateCircle(json_t * object)
{
- CircleViewParams params(FeatureID(-1, 0));
+ CircleViewParams params(FeatureID(MwmSet::MwmId(), 0));
params.m_depth = json_real_value(json_object_get(object, "depth"));
params.m_color = ParseColor(json_object_get(object, "color"));
params.m_radius = json_real_value(json_object_get(object, "radius"));
@@ -368,7 +368,7 @@ void TestingEngine::DrawImpl()
auxFd.m_size = 20.0f;
TextViewParams params;
- params.m_featureID = FeatureID(23, 567);
+ params.m_featureID = FeatureID(MwmSet::MwmId(), 567);
params.m_depth = 10.0f;
params.m_anchor = dp::Center;
params.m_primaryText = "People's republic of China";