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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-09-11 16:13:47 +0300
committertatiana-kondakova <tatiana.kondakova@gmail.com>2017-09-11 16:32:37 +0300
commit1162c2690bfdc0ec611f6e875817fa7cf8398480 (patch)
treed9eadc15f3627dac8794502384dee404b111678f
parentb2e92aa071a8f090f5fe998b1c3606c40f0e83ef (diff)
Fixed path text placing in perspective mode.beta-999android-gr-755
-rw-r--r--drape_frontend/path_text_handle.cpp4
-rw-r--r--routing/routing_integration_tests/road_graph_tests.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/drape_frontend/path_text_handle.cpp b/drape_frontend/path_text_handle.cpp
index 595e0b3164..d51040018d 100644
--- a/drape_frontend/path_text_handle.cpp
+++ b/drape_frontend/path_text_handle.cpp
@@ -161,10 +161,8 @@ void PathTextContext::Update(ScreenBase const & screen)
if (screen.IsReverseProjection3d(pos))
{
if (pixelSpline.GetSize() > 1)
- {
m_pixel3dSplines.push_back(pixelSpline);
- pixelSpline.Clear();
- }
+ pixelSpline.Clear();
continue;
}
AddPointAndRound(pixelSpline, screen.PtoP3d(pos));
diff --git a/routing/routing_integration_tests/road_graph_tests.cpp b/routing/routing_integration_tests/road_graph_tests.cpp
index 37e1c86a18..ead7509cef 100644
--- a/routing/routing_integration_tests/road_graph_tests.cpp
+++ b/routing/routing_integration_tests/road_graph_tests.cpp
@@ -13,7 +13,7 @@
#include "routing/features_road_graph.hpp"
#include "routing/road_graph.hpp"
-#include "routing_integration_tests/routing_test_tools.hpp"
+#include "routing/routing_integration_tests/routing_test_tools.hpp"
#include <vector>