Added configuration switch "DisableRenderingOnMaster" to disable rendering on the master node

This commit is contained in:
Alexander Bock
2015-02-24 13:41:42 +01:00
parent 975caeb8c9
commit 84f8ce961b
4 changed files with 34 additions and 17 deletions
@@ -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
+1
View File
@@ -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 {