MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / notifyRenderFailure

Method notifyRenderFailure

Engine/OutputSchedulerThread.cpp:1868–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1866}
1867
1868void
1869OutputSchedulerThread::notifyRenderFailure(const std::string& errorMessage)
1870{
1871 ///Abort all ongoing rendering
1872 OutputSchedulerThreadStartArgsPtr args = _imp->runArgs.lock();
1873
1874 assert(args);
1875
1876
1877 ///Handle failure: for viewers we make it black and don't display the error message which is irrelevant
1878 handleRenderFailure(errorMessage);
1879
1880 _imp->engine->abortRenderingNoRestart();
1881
1882 if (args->isBlocking) {
1883 waitForAbortToComplete_enforce_blocking();
1884 }
1885}
1886
1887OutputSchedulerThreadStartArgsPtr
1888OutputSchedulerThread::getCurrentRunArgs() const

Callers 2

renderFrameMethod · 0.80
renderFrameMethod · 0.80

Calls 2

lockMethod · 0.45

Tested by

no test coverage detected