Skip to content
Permalink
Browse files

fix time step for first loaded layer

  • Loading branch information
vcloarec authored and nyalldawson committed Nov 12, 2020
1 parent 5375508 commit 838792e5b6a70af8899f3f698c299a2dffa1365b
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgstemporalcontrollerwidget.cpp
@@ -424,7 +424,12 @@ void QgsTemporalControllerWidget::firstTemporalLayerLoaded( QgsMapLayer *layer )

QgsMeshLayer *meshLayer = qobject_cast<QgsMeshLayer *>( layer );
if ( meshLayer )
{
mBlockFrameDurationUpdates++;
setTimeStep( meshLayer->firstValidTimeStep() );
mBlockFrameDurationUpdates--;
updateFrameDuration();
}
}

void QgsTemporalControllerWidget::onProjectCleared()

0 comments on commit 838792e

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