History

Gathering all the needed settings in one place

Sam Gateau committed 7 years ago

Commit aedc6311 parent 0862e405 files · +29 −5Browse files

Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/RenderScriptingInterface.cpp+5−0
@@ -48,6 +48,11 @@ void RenderScriptingInterface::setRenderMethod(RenderScriptingInterface::RenderM · 47 unmodified lines
48 }48 }
49}49}
50 50
51QStringList RenderScriptingInterface::getRenderMethodNames() const {
52 static const QStringList refrenderMethodNames = { "Deferred", "Forward" };
53 return refrenderMethodNames;
54}
55
51bool RenderScriptingInterface::getShadowsEnabled() {56bool RenderScriptingInterface::getShadowsEnabled() {
52 return _shadowsEnabledSetting.get();57 return _shadowsEnabledSetting.get();
53}58}