We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5324435 commit 7e58628Copy full SHA for 7e58628
src/core/raster/qgsrasterlayer.cpp
@@ -634,7 +634,8 @@ bool QgsRasterLayer::readFile( QString const & fileName )
634
}
635
else //GRAY_OR_UNDEFINED
636
{
637
- getRasterBandStats(1);
+ //Disabled automatically generating stats to improve initial load speed.
638
+ //getRasterBandStats(1);
639
mRedBandName = tr(QSTRING_NOT_SET); //sensible default
640
mGreenBandName = tr(QSTRING_NOT_SET); //sensible default
641
mBlueBandName = tr(QSTRING_NOT_SET); //sensible default
0 commit comments