Remove unnecessary member variables

This commit is contained in:
Ylva Selling
2023-01-18 18:08:42 -05:00
parent e3c7d782bd
commit da83acdef5
2 changed files with 2 additions and 6 deletions
@@ -127,8 +127,6 @@ FfmpegTileProvider::FfmpegTileProvider(const ghoul::Dictionary& dictionary) {
const Parameters p = codegen::bake<Parameters>(dictionary);
_videoFile = p.file;
_startTime = p.startTime;
_endTime = p.endTime;
if (p.animationMode.has_value()) {
switch (*p.animationMode) {
@@ -145,8 +143,8 @@ FfmpegTileProvider::FfmpegTileProvider(const ghoul::Dictionary& dictionary) {
throw ghoul::MissingCaseException();
}
}
_startJ200Time = Time::convertTime(_startTime);
_endJ200Time = Time::convertTime(_endTime);
_startJ200Time = Time::convertTime(p.startTime);
_endJ200Time = Time::convertTime(p.endTime);
ghoul_assert(_endJ200Time > _startJ200Time, "Invalid times for video");
}
@@ -76,8 +76,6 @@ private:
AnimationMode _animationMode = AnimationMode::MapToSimulationTime;
std::filesystem::path _videoFile;
std::string _startTime;
std::string _endTime;
double _startJ200Time = 0.0;
double _endJ200Time = 0.0;
double _videoDuration = -1.0;