Skip to content

Commit 7c34c53

Browse files
committedJun 10, 2016
[pal] fix quadrant exp. wrongly overwriting cartographic placement
(fixes #14989)
1 parent 3213c81 commit 7c34c53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/core/pal/feature.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,10 +1308,10 @@ int FeaturePart::createCandidates( QList< LabelPosition*>& lPos,
13081308
switch ( type )
13091309
{
13101310
case GEOS_POINT:
1311-
if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OverPoint || mLF->hasFixedQuadrant() )
1312-
createCandidatesOverPoint( x[0], y[0], lPos, angle );
1313-
else if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OrderedPositionsAroundPoint )
1311+
if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OrderedPositionsAroundPoint )
13141312
createCandidatesAtOrderedPositionsOverPoint( x[0], y[0], lPos, angle );
1313+
else if ( mLF->layer()->arrangement() == QgsPalLayerSettings::OverPoint || mLF->hasFixedQuadrant() )
1314+
createCandidatesOverPoint( x[0], y[0], lPos, angle );
13151315
else
13161316
createCandidatesAroundPoint( x[0], y[0], lPos, angle );
13171317
break;

0 commit comments

Comments
 (0)
Please sign in to comment.