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

Method onTransformSolverWatcherProgress

Engine/TrackerContextPrivate.cpp:2655–2664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2653}
2654
2655void
2656TrackerContextPrivate::onTransformSolverWatcherProgress(int progress)
2657{
2658 assert(lastSolveRequest.tWatcher);
2659 NodePtr thisNode = node.lock();
2660 double min = lastSolveRequest.tWatcher->progressMinimum();
2661 double max = lastSolveRequest.tWatcher->progressMaximum();
2662 double p = (progress - min) / (max - min);
2663 thisNode->getApp()->progressUpdate(thisNode, p);
2664}
2665
2666void
2667TrackerContextPrivate::setSolverParamsEnabled(bool enabled)

Callers

nothing calls this directly

Calls 3

lockMethod · 0.45
progressUpdateMethod · 0.45
getAppMethod · 0.45

Tested by

no test coverage detected