Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Forgot to commit a file last Friday that is necessary for WMS based p…
…rinting

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10892 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 8, 2009
1 parent f0ec7c8 commit ab50488
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -1501,6 +1501,8 @@ bool QgsRasterLayer::draw( QgsRenderContext& rendererContext )

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

mDataProvider->setDpi(rendererContext.rasterScaleFactor() * 25.4 * rendererContext.scaleFactor());

QImage* image =
mDataProvider->draw(
myRasterExtent,
Expand Down

0 comments on commit ab50488

Please sign in to comment.