Skip to content
Permalink
Browse files

[pal] fix quadrant exp. wrongly overwriting cartographic placement

(fixes #14989)
  • Loading branch information
nirvn committed Jun 10, 2016
1 parent 3213c81 commit 7c34c53709b8d91a203c355f86b0712e2942b0c9
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/pal/feature.cpp
@@ -1308,10 +1308,10 @@ int FeaturePart::createCandidates( QList< LabelPosition*>& lPos,
switch ( type )
{
case GEOS_POINT:
if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OverPoint || mLF->hasFixedQuadrant() )
createCandidatesOverPoint( x[0], y[0], lPos, angle );
else if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OrderedPositionsAroundPoint )
if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OrderedPositionsAroundPoint )
createCandidatesAtOrderedPositionsOverPoint( x[0], y[0], lPos, angle );
else if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OverPoint || mLF->hasFixedQuadrant() )
createCandidatesOverPoint( x[0], y[0], lPos, angle );
else
createCandidatesAroundPoint( x[0], y[0], lPos, angle );
break;

0 comments on commit 7c34c53

Please sign in to comment.
You can’t perform that action at this time.