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/qgis@11201 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jul 29, 2009
1 parent 8e68ed8 commit 7e6cde1200a76e1b4716775b4a3aca5b2ee59676
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 7e6cde1

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