MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / RenderConfigParse

Method RenderConfigParse

samples/luxcoreui/luxcoreapp.cpp:188–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void LuxCoreApp::RenderConfigParse(const Properties &props) {
189 if (session) {
190 // Delete the session
191 delete session;
192 session = NULL;
193 }
194
195 // Change the configuration
196 try {
197 config->Parse(props);
198 } catch(exception &ex) {
199 LA_LOG("RenderConfig fatal parse error: " << endl << ex.what());
200 // I can not recover from a RenderConfig parse error: I would have to create
201 // a new RenderConfig
202 exit(EXIT_FAILURE);
203 }
204
205 StartRendering();
206}
207
208void LuxCoreApp::RenderSessionParse(const Properties &props) {
209 try {

Callers 9

ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80
ParseObjectPropertiesMethod · 0.80

Calls 2

whatMethod · 0.80
ParseMethod · 0.45

Tested by

no test coverage detected