renamed isLoaded to needsUpdate and changed meaning

This commit is contained in:
Lovisa Hassler
2018-12-05 16:35:56 -05:00
parent d5d4df3b54
commit 6fd9a3333e
2 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ namespace openspace {
{
signalParser(index);
signalParser(index + lightTimeTravelBuffer);
signalData.isLoaded = true;
signalData.needsUpdate = false;
signalData.signals.shrink_to_fit();
return;
}
@@ -114,7 +114,7 @@ namespace openspace {
signalParser(index- lightTimeTravelBuffer);
signalParser(index);
signalData.isLoaded = true;
signalData.needsUpdate = false;
signalData.signals.shrink_to_fit();
return;
}
@@ -122,7 +122,7 @@ namespace openspace {
signalParser(index - lightTimeTravelBuffer);
signalParser(index);
signalParser(index + lightTimeTravelBuffer);
signalData.isLoaded = true;
signalData.needsUpdate = false;
signalData.signals.shrink_to_fit();
}
}

View File

@@ -53,7 +53,7 @@ namespace openspace {
static struct SignalData {
//filename is on the format of YYYY-DDDT (excluding '.json')
bool isLoaded = false;
bool needsUpdate = true;
double sequenceStartTime;
// 24 hours from startTime
double sequenceEndTime;