Skip to content

Commit

Permalink
Add debug line in renderer to see the temporal filter strings easier
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde authored and nyalldawson committed Sep 8, 2021
1 parent b5952c1 commit 739aaf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/vector/qgsvectorlayerrenderer.cpp
Expand Up @@ -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() );
qDebug() << "Rendering with Temporal Filter: " << mTemporalFilter;
}

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

0 comments on commit 739aaf9

Please sign in to comment.