Skip to content

Commit ab50488

Browse files
author
mhugent
committed
Forgot to commit a file last Friday that is necessary for WMS based printing
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10892 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f0ec7c8 commit ab50488

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/raster/qgsrasterlayer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1501,6 +1501,8 @@ bool QgsRasterLayer::draw( QgsRenderContext& rendererContext )
15011501

15021502
emit statusChanged( tr( "Retrieving using %1" ).arg( mProviderKey ) );
15031503

1504+
mDataProvider->setDpi(rendererContext.rasterScaleFactor() * 25.4 * rendererContext.scaleFactor());
1505+
15041506
QImage* image =
15051507
mDataProvider->draw(
15061508
myRasterExtent,

0 commit comments

Comments
 (0)