Expose time interval to user in config file for sky browser topic. This will give the user control over how often data is passed. Hopefully a future proof fix for GPU crash

This commit is contained in:
Ylva Selling
2022-04-26 14:39:00 -04:00
parent 19103a1540
commit 8a292c1645
5 changed files with 24 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ private:
int _targetDataCallbackHandle = UnsetOnChangeHandle;
bool _isDone = false;
std::chrono::system_clock::time_point _lastUpdateTime;
std::chrono::milliseconds _skyBrowserUpdateTime = std::chrono::milliseconds(100);
};
} // namespace openspace