Skip to content
Permalink
Browse files

Initialize mFrameTimeStep and mFrameTimeStepUnit

  • Loading branch information
dminor authored and nyalldawson committed Jan 6, 2021
1 parent 8aac238 commit 9cd3da685445e06bd3328405fcaf59d6bf3bafff
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgstemporalnavigationobject.h
@@ -324,8 +324,8 @@ class CORE_EXPORT QgsTemporalNavigationObject : public QgsTemporalController, pu
long long mCurrentFrameNumber = 0;

//! Frame duration
double mFrameTimeStep;
QgsUnitTypes::TemporalUnit mFrameTimeStepUnit;
double mFrameTimeStep = 1.0;
QgsUnitTypes::TemporalUnit mFrameTimeStepUnit = QgsUnitTypes::TemporalUnit::TemporalHours;

//! Member for frame rate
double mFramesPerSecond = 1;

0 comments on commit 9cd3da6

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