mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Bug fix for segfault in paletted pseudocolor images. Still really slow - will look at performance in this srasing style later.
git-svn-id: http://svn.osgeo.org/qgis/trunk@663 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cd1c0e6b2f
commit
b04f750d66
@ -414,7 +414,8 @@ void QgsRasterLayer::draw(QPainter * theQPainter, QgsRect * theViewExtent, QgsCo
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
drawPalettedSingleBandPseudoColor(theQPainter, myRasterViewPort, getRasterBandNumber(grayBandNameQString), grayBandNameQString);
|
int myBandNoInt=1;
|
||||||
|
drawPalettedSingleBandPseudoColor(theQPainter, myRasterViewPort, myBandNoInt, grayBandNameQString);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//a "Palette" image where the bands contains 24bit color info and 8 bits is pulled out per color
|
//a "Palette" image where the bands contains 24bit color info and 8 bits is pulled out per color
|
||||||
|
Loading…
x
Reference in New Issue
Block a user