Skip to content
Permalink
Browse files
Apply patch for #2230 by sunilkcube
git-svn-id: http://svn.osgeo.org/qgis/trunk@15606 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 25, 2011
1 parent 9d3e989 commit 3d9e4144ab9610280d190a3da83c1a9c6771c951
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/core/qgsmaprenderer.cpp
  2. +1 −1 src/core/qgsrendercontext.cpp
@@ -263,7 +263,9 @@ void QgsMapRenderer::render( QPainter* painter )
renderTime.start();
#endif

mRenderContext.setDrawEditingInformation( !mOverview );
if ( mOverview )
mRenderContext.setDrawEditingInformation( !mOverview );

mRenderContext.setPainter( painter );
mRenderContext.setCoordinateTransform( 0 );
//this flag is only for stopping during the current rendering progress,
@@ -21,7 +21,7 @@
QgsRenderContext::QgsRenderContext()
: mPainter( 0 ),
mCoordTransform( 0 ),
mDrawEditingInformation( false ),
mDrawEditingInformation( true ),
mForceVectorOutput( false ),
mRenderingStopped( false ),
mScaleFactor( 1.0 ),

0 comments on commit 3d9e414

Please sign in to comment.