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

Method onCornerPinSolverWatcherProgress

Engine/TrackerContextPrivate.cpp:2644–2653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2642}
2643
2644void
2645TrackerContextPrivate::onCornerPinSolverWatcherProgress(int progress)
2646{
2647 assert(lastSolveRequest.cpWatcher);
2648 NodePtr thisNode = node.lock();
2649 double min = lastSolveRequest.cpWatcher->progressMinimum();
2650 double max = lastSolveRequest.cpWatcher->progressMaximum();
2651 double p = (progress - min) / (max - min);
2652 thisNode->getApp()->progressUpdate(thisNode, p);
2653}
2654
2655void
2656TrackerContextPrivate::onTransformSolverWatcherProgress(int progress)

Callers

nothing calls this directly

Calls 3

lockMethod · 0.45
progressUpdateMethod · 0.45
getAppMethod · 0.45

Tested by

no test coverage detected