| 2642 | } |
| 2643 | |
| 2644 | void |
| 2645 | TrackerContextPrivate::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 | |
| 2655 | void |
| 2656 | TrackerContextPrivate::onTransformSolverWatcherProgress(int progress) |
nothing calls this directly
no test coverage detected