Skip to content

Commit

Permalink
Fixed a bug that was causeing backported raster histogram work not to…
Browse files Browse the repository at this point in the history
… use aux.xml cached stats
  • Loading branch information
timlinux committed Sep 18, 2011
1 parent 12c0307 commit b05529a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -1885,7 +1885,7 @@ void QgsRasterLayerProperties::refreshHistogram()
// bin in all selected layers, and the min. It then draws a scaled line between min
// and max - scaled to image height. 1 line drawn per selected band
//
const int BINCOUNT = 255;
const int BINCOUNT = 256;
bool myIgnoreOutOfRangeFlag = true;
bool myThoroughBandScanFlag = false;
int myBandCountInt = mRasterLayer->bandCount();
Expand Down

0 comments on commit b05529a

Please sign in to comment.