mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
use correct band type for readValue
git-svn-id: http://svn.osgeo.org/qgis/trunk@3053 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
87a94ef481
commit
46dae91f7c
@ -1831,9 +1831,9 @@ void QgsRasterLayer::drawMultiBandColor(QPainter * theQPainter, RasterViewPort *
|
||||
{
|
||||
double myRedValueDouble = readValue ( myGdalRedData, myRedType,
|
||||
myColumnInt * theRasterViewPort->drawableAreaXDimInt + myRowInt );
|
||||
double myGreenValueDouble = readValue ( myGdalGreenData, myRedType,
|
||||
double myGreenValueDouble = readValue ( myGdalGreenData, myGreenType,
|
||||
myColumnInt * theRasterViewPort->drawableAreaXDimInt + myRowInt );
|
||||
double myBlueValueDouble = readValue ( myGdalBlueData, myRedType,
|
||||
double myBlueValueDouble = readValue ( myGdalBlueData, myBlueType,
|
||||
myColumnInt * theRasterViewPort->drawableAreaXDimInt + myRowInt );
|
||||
|
||||
// TODO: check all channels ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user