Skip to content
Permalink
Browse files

Fix incorrect detection of grids with advanced effects

  • Loading branch information
nyalldawson committed Dec 12, 2017
1 parent ab7873c commit 770ffdf614753a2a84da85121afc81d74c2b26c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layout/qgslayoutitemmapgrid.cpp
@@ -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

0 comments on commit 770ffdf

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