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

Method onTaskRestarted

Gui/ProgressPanel.cpp:383–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void
384ProgressPanel::onTaskRestarted(const NodePtr& node,
385 const boost::shared_ptr<ProcessHandler>& process)
386{
387 QMutexLocker k(&_imp->tasksMutex);
388 ProgressTaskInfoPtr task;
389
390 task = _imp->findTask(node);
391 if (!task) {
392 return;
393 }
394 //The process may have changed
395 if (process) {
396 task->setProcesshandler(process);
397 connectProcessSlots( task.get(), process.get() );
398 }
399}
400
401void
402ProgressPanel::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