mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
Added configuration switch "DisableRenderingOnMaster" to disable rendering on the master node
This commit is contained in:
@@ -78,6 +78,8 @@ public:
|
||||
void setGlobalOpacity(float opacity);
|
||||
|
||||
void setSGCTRenderStatistics(bool visible);
|
||||
|
||||
void setDisableRenderingOnMaster(bool enabled);
|
||||
|
||||
/**
|
||||
* Returns the Lua library that contains all Lua functions available to affect the
|
||||
@@ -120,6 +122,8 @@ private:
|
||||
|
||||
bool _visualizeABuffer;
|
||||
ABufferVisualizer* _visualizer;
|
||||
|
||||
bool _disableMasterRendering = false;
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace configurationmanager {
|
||||
const std::string keyLogLevel = "Logging.LogLevel";
|
||||
const std::string keyLogImmediateFlush = "Logging.ImmediateFlush";
|
||||
const std::string keyLogs = "Logging.Logs";
|
||||
const std::string keyDisableMasterRendering = "DisableRenderingOnMaster";
|
||||
} // namespace configurationmanager
|
||||
|
||||
namespace scenegraph {
|
||||
|
||||
Reference in New Issue
Block a user