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:
authorDmitry Kunin <dkunin@mapswith.me>2013-12-27 19:35:23 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:09:52 +0300
commit535dbec13c16772e3ce4c575ce48f5143d01b0a9 (patch)
tree225a1d274dc5f9159e8493a8aab79ab0b800be94 /drape_frontend/read_mwm_task.cpp
parent37548fb5fdddcf9670c1922c57d58143c58a1c73 (diff)
DrapeHead mock integration.
Diffstat (limited to 'drape_frontend/read_mwm_task.cpp')
-rw-r--r--drape_frontend/read_mwm_task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_frontend/read_mwm_task.cpp b/drape_frontend/read_mwm_task.cpp
index 6fc0ecb33e..dbf5aa9db0 100644
--- a/drape_frontend/read_mwm_task.cpp
+++ b/drape_frontend/read_mwm_task.cpp
@@ -98,8 +98,8 @@ namespace df
void ReadMWMTask::ReadGeometry(const FeatureID & id)
{
- m_context.InsertShape(TileKey(0, 0, 0), MovePointer<MapShape>(CreateFakeShape1()));
- m_context.InsertShape(TileKey(0, 0, 0), MovePointer<MapShape>(CreateFakeShape2()));
+ m_context.InsertShape(m_tileInfo.m_key, MovePointer<MapShape>(CreateFakeShape1()));
+ m_context.InsertShape(m_tileInfo.m_key, MovePointer<MapShape>(CreateFakeShape2()));
///TODO read geometry
///TODO proccess geometry by styles
///foreach shape in shapes