History

merging the various job/task/switch congif into one

Sam committed 7 years ago

Commit 767f4131 parent 7486e9015 files · +144 −125Browse files

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

Unified · Split

interface/src/scripting/RenderScriptingInterface.cpp+1−1
@@ -54,7 +54,7 @@ void RenderScriptingInterface::forceRenderMethod(RenderMethod renderMethod) { · 53 unmodified lines
54 _renderMethod = (int)renderMethod;54 _renderMethod = (int)renderMethod;
55 _renderMethodSetting.set((int)renderMethod);55 _renderMethodSetting.set((int)renderMethod);
56 56
57 auto config = dynamic_cast<task::SwitchConfig*>(qApp->getRenderEngine()->getConfiguration()->getConfig("RenderMainView.DeferredForwardSwitch"));57 auto config = dynamic_cast<render::SwitchConfig*>(qApp->getRenderEngine()->getConfiguration()->getConfig("RenderMainView.DeferredForwardSwitch"));
58 if (config) {58 if (config) {
59 config->setBranch((int)renderMethod);59 config->setBranch((int)renderMethod);
60 }60 }