forked from organicmaps/organicmaps
Fixed path text placing in perspective mode.
This commit is contained in:
parent
7c16c73383
commit
469b1eadad
2 changed files with 2 additions and 4 deletions
|
@ -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));
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue