Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect detection of grids with advanced effects
  • Loading branch information
nyalldawson committed Dec 17, 2017
1 parent ab7873c commit 770ffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemmapgrid.cpp
Expand Up @@ -375,7 +375,7 @@ void QgsLayoutItemMapGrid::setCrs( const QgsCoordinateReferenceSystem &crs )

bool QgsLayoutItemMapGrid::usesAdvancedEffects() const
{
return mBlendMode == QPainter::CompositionMode_SourceOver;
return mBlendMode != QPainter::CompositionMode_SourceOver;
}

QPolygonF QgsLayoutItemMapGrid::scalePolygon( const QPolygonF &polygon, const double scale ) const
Expand Down

0 comments on commit 770ffdf

Please sign in to comment.