mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 23:39:26 -05:00
Added boolean to OpenSpaceEngine declaring if this node is the master or not.
made sure it's set in the right place in main file. removed all references to sgct::engine::instance()->isMaster() and replaced with calls to openspaceengine isMaster() function.
This commit is contained in:
@@ -59,7 +59,8 @@ public:
|
||||
|
||||
static bool isInitialized();
|
||||
bool initialize();
|
||||
|
||||
bool isMaster();
|
||||
void setMaster(bool master);
|
||||
static bool findConfiguration(std::string& filename);
|
||||
|
||||
// Guaranteed to return a valid pointer
|
||||
@@ -110,6 +111,7 @@ private:
|
||||
LuaConsole* _console;
|
||||
gui::GUI* _gui;
|
||||
double _dt;
|
||||
bool _isMaster;
|
||||
|
||||
SyncBuffer* _syncBuffer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user