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

Method notifyRenderFailure

Engine/OutputSchedulerThread.cpp:1869–1886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

renderFrameMethod · 0.80
renderFrameMethod · 0.80

Calls 2

lockMethod · 0.45

Tested by

no test coverage detected