mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
Add early exit path to hue/saturation filter
This commit is contained in:
parent
8afd863166
commit
cfb8d100b7
@ -154,6 +154,9 @@ QgsRasterBlock *QgsHueSaturationFilter::block( int bandNo, QgsRectangle const &
|
||||
|
||||
for ( int row = 0; row < height; ++row )
|
||||
{
|
||||
if ( feedback->isCanceled() )
|
||||
return nullptr;
|
||||
|
||||
for ( int col = 0; col < width; ++col )
|
||||
{
|
||||
const qgssize i = static_cast< qgssize >( row ) * width + static_cast< qgssize >( col );
|
||||
|
Loading…
x
Reference in New Issue
Block a user