Skip to content
Permalink
Browse files
Add QgsDebugMsg to QgsVectorLayerRenderer
This way it is easier to see the filter query used for all different
settings and options
  • Loading branch information
rduivenvoorde authored and nyalldawson committed Sep 8, 2021
1 parent 3de4f0e commit 30ae0713876ce6014c27923a096b8993cc9877b5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/vector/qgsvectorlayerrenderer.cpp
@@ -99,6 +99,7 @@ QgsVectorLayerRenderer::QgsVectorLayerRenderer( QgsVectorLayer *layer, QgsRender
QgsVectorLayerTemporalContext temporalContext;
temporalContext.setLayer( layer );
mTemporalFilter = qobject_cast< const QgsVectorLayerTemporalProperties * >( layer->temporalProperties() )->createFilterString( temporalContext, context.temporalRange() );
QgsDebugMsg( "Rendering with Temporal Filter: " + mTemporalFilter );
}

// if there's already a simplification method specified via the context, we respect that. Otherwise, we fall back

0 comments on commit 30ae071

Please sign in to comment.