Skip to content

Commit b05529a

Browse files
committed
Fixed a bug that was causeing backported raster histogram work not to use aux.xml cached stats
1 parent 12c0307 commit b05529a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsrasterlayerproperties.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ void QgsRasterLayerProperties::refreshHistogram()
18851885
// bin in all selected layers, and the min. It then draws a scaled line between min
18861886
// and max - scaled to image height. 1 line drawn per selected band
18871887
//
1888-
const int BINCOUNT = 255;
1888+
const int BINCOUNT = 256;
18891889
bool myIgnoreOutOfRangeFlag = true;
18901890
bool myThoroughBandScanFlag = false;
18911891
int myBandCountInt = mRasterLayer->bandCount();

0 commit comments

Comments
 (0)