Skip to content

Commit

Permalink
Automatically default to temporal mode if raster backend supports it
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 13, 2020
1 parent e071d2d commit a82c5d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/raster/qgsrasterlayertemporalproperties.cpp
Expand Up @@ -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() );

Expand Down

0 comments on commit a82c5d0

Please sign in to comment.