Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
QgsVectorLayerRenderer::drawRendererV2(): make it cancellable in all …
…situations Currently the mContext.renderingStopped() check is done only if the feature has a geometry. Which makes it possible to have really really long loops if a long series of features without geometries are returned by the feature iterator. This is perhaps not something that can happen in practice, but I hit that issue when prototyping my WFS asynchronous feature downloading that currently only returns dummy features. QGIS was completely blocked due to the iterator returning infinite geometry-less features.
- Loading branch information