mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 14:29:42 -05:00
Introduce engine modes to handle Camera path and session recording transitions
* Clarifies which system is control over time and camera at what time * Fixes #1845 * Prevent invalid switching between session recoring and camera path playback * Some cleanup, mosly of SessionRecording and NavigationHandler. Also, remove ExternInteraction and some other unused/nonexisting functions
This commit is contained in:
@@ -150,16 +150,6 @@ public:
|
||||
*/
|
||||
void setTimeReferenceMode(openspace::interaction::KeyframeTimeRef refType);
|
||||
|
||||
/**
|
||||
* Sets the mode for scripts being run from playback
|
||||
*/
|
||||
void triggerPlaybackStart();
|
||||
|
||||
/**
|
||||
* Sets the flag for scripts no longer being run from playback
|
||||
*/
|
||||
void stopPlayback();
|
||||
|
||||
static LuaLibrary luaLibrary();
|
||||
void setModeApplicationTime();
|
||||
void setModeRecordedTime();
|
||||
@@ -174,7 +164,6 @@ private:
|
||||
|
||||
int _currentIndex = 0;
|
||||
double _currentTime = 0;
|
||||
bool _playbackModeEnabled = false;
|
||||
|
||||
openspace::interaction::KeyframeTimeRef _timeframeMode
|
||||
= openspace::interaction::KeyframeTimeRef::Absolute_simTimeJ2000;
|
||||
|
||||
Reference in New Issue
Block a user