Skip to content

Commit 83ffa05

Browse files
committedMay 7, 2013
raster 3 band taransparency, fixes #7748, thanks to Mathieu Pellerin
1 parent 0264ab7 commit 83ffa05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/raster/qgsrastertransparency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ int QgsRasterTransparency::alphaValue( double theRedValue, double theGreenValue,
179179

180180
bool QgsRasterTransparency::isEmpty( ) const
181181
{
182-
return mTransparentSingleValuePixelList.isEmpty();
182+
return mTransparentSingleValuePixelList.isEmpty() && mTransparentThreeValuePixelList.isEmpty();
183183
}
184184

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

0 commit comments

Comments
 (0)
Please sign in to comment.