[QGIS Commit] r13192 - trunk/qgis/src/core/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Mar 29 09:46:20 EDT 2010


Author: mhugent
Date: 2010-03-29 09:46:19 -0400 (Mon, 29 Mar 2010)
New Revision: 13192

Modified:
   trunk/qgis/src/core/composer/qgscomposermap.cpp
Log:
Hide invisible annotations in composer too

Modified: trunk/qgis/src/core/composer/qgscomposermap.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposermap.cpp	2010-03-29 13:27:56 UTC (rev 13191)
+++ trunk/qgis/src/core/composer/qgscomposermap.cpp	2010-03-29 13:46:19 UTC (rev 13192)
@@ -1423,7 +1423,7 @@
 
 void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, const QStyleOptionGraphicsItem* itemStyle )
 {
-  if ( !item || !mMapCanvas || !mMapRenderer )
+  if ( !item || !mMapCanvas || !mMapRenderer  || !item->isVisible() )
   {
     return;
   }



More information about the QGIS-commit mailing list