patch_for_bug__2230.txt

sunilkcube -, 2011-03-25 03:55 AM

Download (1.35 KB)

 
1
Index: src/core/qgsmaprenderer.cpp
2
===================================================================
3
--- src/core/qgsmaprenderer.cpp	(revision 15597)
4
+++ src/core/qgsmaprenderer.cpp	(working copy)
5
@@ -263,7 +263,9 @@
6
   renderTime.start();
7
 #endif
8
 
9
-  mRenderContext.setDrawEditingInformation( !mOverview );
10
+  if( mOverview )
11
+     mRenderContext.setDrawEditingInformation( !mOverview );
12
+  
13
   mRenderContext.setPainter( painter );
14
   mRenderContext.setCoordinateTransform( 0 );
15
   //this flag is only for stopping during the current rendering progress,
16
Index: src/core/qgsrendercontext.cpp
17
===================================================================
18
--- src/core/qgsrendercontext.cpp	(revision 15597)
19
+++ src/core/qgsrendercontext.cpp	(working copy)
20
@@ -21,7 +21,7 @@
21
 QgsRenderContext::QgsRenderContext()
22
     : mPainter( 0 ),
23
     mCoordTransform( 0 ),
24
-    mDrawEditingInformation( false ),
25
+    mDrawEditingInformation( true ),
26
     mForceVectorOutput( false ),
27
     mRenderingStopped( false ),
28
     mScaleFactor( 1.0 ),
29
Index: src/CMakeLists.txt
30
===================================================================
31
--- src/CMakeLists.txt	(revision 15597)
32
+++ src/CMakeLists.txt	(working copy)
33
@@ -1,4 +1,4 @@
34
-SUBDIRS(astyle core analysis ui gui app providers plugins helpviewer)
35
+SUBDIRS( core  ui gui app providers  )
36
 
37
 IF (WITH_BINDINGS)
38
   SUBDIRS(python)