Skip to content

Commit

Permalink
Initialize mFrameTimeStep and mFrameTimeStepUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
dminor authored and nyalldawson committed Jan 6, 2021
1 parent 8aac238 commit 9cd3da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgstemporalnavigationobject.h
Expand Up @@ -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;
Expand Down

0 comments on commit 9cd3da6

Please sign in to comment.