mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 09:20:26 -05:00
Remove unnecessary member variables
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user