Skip to content

Commit

Permalink
Apply patch for #2230 by sunilkcube
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15606 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 25, 2011
1 parent 9a1c5a6 commit 22e2eec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/core/qgsmaprenderer.cpp
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsrendercontext.cpp
Expand Up @@ -21,7 +21,7 @@
QgsRenderContext::QgsRenderContext()
: mPainter( 0 ),
mCoordTransform( 0 ),
mDrawEditingInformation( false ),
mDrawEditingInformation( true ),
mForceVectorOutput( false ),
mRenderingStopped( false ),
mScaleFactor( 1.0 ),
Expand Down

0 comments on commit 22e2eec

Please sign in to comment.