Skip to content

Commit

Permalink
raster 3 band taransparency, fixes #7748, thanks to Mathieu Pellerin
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 7, 2013
1 parent 0264ab7 commit 83ffa05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrastertransparency.cpp
Expand Up @@ -179,7 +179,7 @@ int QgsRasterTransparency::alphaValue( double theRedValue, double theGreenValue,

bool QgsRasterTransparency::isEmpty( ) const
{
return mTransparentSingleValuePixelList.isEmpty();
return mTransparentSingleValuePixelList.isEmpty() && mTransparentThreeValuePixelList.isEmpty();
}

void QgsRasterTransparency::writeXML( QDomDocument& doc, QDomElement& parentElem ) const
Expand Down

0 comments on commit 83ffa05

Please sign in to comment.