Skip to content
Permalink
Browse files

Automatically default to temporal mode if raster backend supports it

  • Loading branch information
nyalldawson committed Mar 13, 2020
1 parent e071d2d commit a82c5d0b0e283a67bfbb50adea325848becba1df
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgsrasterlayertemporalproperties.cpp
@@ -203,6 +203,7 @@ void QgsRasterLayerTemporalProperties::setDefaultsFromDataProviderTemporalCapabi
{
if ( const QgsRasterDataProviderTemporalCapabilities *rasterCaps = dynamic_cast< const QgsRasterDataProviderTemporalCapabilities *>( capabilities ) )
{
setIsActive( rasterCaps->hasTemporalCapabilities() );
setFixedTemporalRange( rasterCaps->availableTemporalRange() );
setFixedReferenceTemporalRange( rasterCaps->availableReferenceTemporalRange() );

0 comments on commit a82c5d0

Please sign in to comment.
You can’t perform that action at this time.