[QGIS Commit] r13327 - in trunk/qgis/src: core/composer core/symbology-ng plugins/raster_terrain_analysis

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Apr 19 09:20:29 EDT 2010


Author: mhugent
Date: 2010-04-19 09:20:26 -0400 (Mon, 19 Apr 2010)
New Revision: 13327

Modified:
   trunk/qgis/src/core/composer/qgscomposerarrow.cpp
   trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
   trunk/qgis/src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp
Log:
Remove some debug code

Modified: trunk/qgis/src/core/composer/qgscomposerarrow.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposerarrow.cpp	2010-04-19 13:04:03 UTC (rev 13326)
+++ trunk/qgis/src/core/composer/qgscomposerarrow.cpp	2010-04-19 13:20:26 UTC (rev 13327)
@@ -48,9 +48,6 @@
   mPen.setColor( QColor( 0, 0, 0 ) );
   mPen.setWidthF( 1 );
 
-  //setStartMarker( "/home/marco/src/qgis/images/svg/north_arrows/NorthArrow11.svg" );
-  //setEndMarker( "/home/marco/src/qgis/images/svg/north_arrows/NorthArrow11.svg" );
-
   //set composer item brush and pen to transparent white by default
   setPen( QPen( QColor( 255, 255, 255, 0 ) ) );
   setBrush( QBrush( QColor( 255, 255, 255, 0 ) ) );

Modified: trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp	2010-04-19 13:04:03 UTC (rev 13326)
+++ trunk/qgis/src/core/symbology-ng/qgsmarkersymbollayerv2.cpp	2010-04-19 13:20:26 UTC (rev 13327)
@@ -233,20 +233,11 @@
     return;
   }
 
-  //p->setBrush(mBrush);
-  //p->setPen(mPen);
-
-  //p->save();
-  //p->translate(point);
-
-  //drawMarker(p);
-  //mCache.save("/home/marco/tmp/marker.png","PNG");
   QImage &img = context.selected() ? mSelCache : mCache;
   double s = img.width() / context.renderContext().rasterScaleFactor();
   p->drawImage( QRectF( point.x() - s / 2.0 + context.outputLineWidth( mOffset.x() ),
                         point.y() - s / 2.0 + context.outputLineWidth( mOffset.y() ),
                         s, s ), img );
-  //p->restore();
 }
 
 

Modified: trunk/qgis/src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp
===================================================================
--- trunk/qgis/src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp	2010-04-19 13:04:03 UTC (rev 13326)
+++ trunk/qgis/src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp	2010-04-19 13:20:26 UTC (rev 13327)
@@ -66,12 +66,6 @@
 
 void QgsRasterTerrainAnalysisPlugin::run()
 {
-  //testcode, remove it after debugging and show a dialog
-  //QgsRuggednessFilter r("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
-  //QgsSlopeFilter slopeFilter("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
-  //QgsAspectFilter aspectFilter("/home/marco/geodaten/raster/albis/mmal25.agr", "/home/marco/tmp/ruggedtest.tif", "GTiff");
-  //slopeFilter.processRaster(0);
-
   QgsRasterTerrainAnalysisDialog d( mIface );
   if ( d.exec() == QDialog::Accepted )
   {



More information about the QGIS-commit mailing list