mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
raster 3 band taransparency, fixes #7748, thanks to Mathieu Pellerin
This commit is contained in:
parent
0264ab7a12
commit
83ffa053f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user