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

Method onTaskRestarted

Gui/ProgressPanel.cpp:391–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391void
392ProgressPanel::onTaskRestarted(const NodePtr& node,
393 const ProcessHandlerPtr& process)
394{
395 QMutexLocker k(&_imp->tasksMutex);
396 ProgressTaskInfoPtr task;
397
398 task = _imp->findTask(node);
399 if (!task) {
400 return;
401 }
402 //The process may have changed
403 if (process) {
404 task->setProcesshandler(process);
405 connectProcessSlots( task.get(), process.get() );
406 }
407}
408
409void
410ProgressPanel::doProgressStartOnMainThread(const NodePtr& node,

Callers 1

onRenderRestartedMethod · 0.80

Calls 4

connectProcessSlotsFunction · 0.85
findTaskMethod · 0.80
setProcesshandlerMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected