Skip to content
Permalink
Browse files

Initialise band count to 0 in raster constructor for WMS layers. Fixe…

…s bug #1803

git-svn-id: http://svn.osgeo.org/qgis/trunk@11201 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jul 29, 2009
1 parent baaec20 commit 247dd62e57b431133c70d0a2c8115083e6a9d8f5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgsrasterlayer.cpp
@@ -180,6 +180,7 @@ QgsRasterLayer::QgsRasterLayer( int dummy,
layers.join( ", " ) + " and style list of " + styles.join( ", " ) + " and format of " +
format + " and CRS of " + crs );

mBandCount = 0;
mRasterShader = new QgsRasterShader();

// Initialise the affine transform matrix

0 comments on commit 247dd62

Please sign in to comment.
You can’t perform that action at this time.