WIP: [drape] Make path_texts use minVisibleScale for rendering order #4428
3 changed files with 1 additions and 6 deletions
|
@ -348,11 +348,6 @@ void PathTextHandle::GetAttributeMutation(ref_ptr<dp::AttributeBufferMutator> mu
|
|||
TextHandle::GetAttributeMutation(mutator);
|
||||
}
|
||||
|
||||
uint64_t PathTextHandle::GetPriorityMask() const
|
||||
{
|
||||
return dp::kPriorityMaskManual | dp::kPriorityMaskRank;
|
||||
}
|
||||
|
||||
bool PathTextHandle::Enable3dExtention() const
|
||||
{
|
||||
// Do not extend overlays for path texts.
|
||||
|
|
|
@ -60,7 +60,6 @@ public:
|
|||
m2::RectD GetPixelRect(ScreenBase const & screen, bool perspective) const override;
|
||||
void GetPixelShape(ScreenBase const & screen, bool perspective, Rects & rects) const override;
|
||||
void GetAttributeMutation(ref_ptr<dp::AttributeBufferMutator> mutator) const override;
|
||||
uint64_t GetPriorityMask() const override;
|
||||
bool Enable3dExtention() const override;
|
||||
bool HasLinearFeatureShape() const override;
|
||||
|
||||
|
|
|
@ -363,6 +363,7 @@ void RuleDrawer::ProcessLineStyle(FeatureType & f, Stylist const & s,
|
|||
|
||||
if (needAdditional && !clippedSplines.empty())
|
||||
{
|
||||
minVisibleScale = feature::GetMinDrawableScale(f);
|
||||
ApplyLineFeatureAdditional applyAdditional(m_context->GetTileKey(), insertShape, f.GetID(),
|
||||
m_currentScaleGtoP, minVisibleScale, f.GetRank(),
|
||||
s.GetCaptionDescription(), clippedSplines);
|
||||
|
|
Reference in a new issue