Skip to content
Permalink
Browse files

Don't always try to calculate temporal extents for all layer types --…

… it's too expensive
  • Loading branch information
nyalldawson committed Mar 26, 2021
1 parent f0fb5c8 commit f98ab57c1ce7cb2adbc3edc2138729dc0e6950c5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsmaplayertemporalproperties.cpp
@@ -32,7 +32,7 @@ QgsDateTimeRange QgsMapLayerTemporalProperties::calculateTemporalExtent( QgsMapL
return QgsDateTimeRange();
}

QList<QgsDateTimeRange> QgsMapLayerTemporalProperties::allTemporalRanges( QgsMapLayer *layer ) const
QList<QgsDateTimeRange> QgsMapLayerTemporalProperties::allTemporalRanges( QgsMapLayer * ) const
{
return { calculateTemporalExtent( layer ) };
return {};
}

0 comments on commit f98ab57

Please sign in to comment.