| 2102 | } // trackBackward |
| 2103 | |
| 2104 | bool |
| 2105 | TrackerPanelV1::trackForward(ViewerInstance* /*viewer*/) |
| 2106 | { |
| 2107 | Dialogs::errorDialog( tr("Tracker").toStdString(), tr("TrackerPM is now depecrated and can only be used to retrieve animation tracked from older projects, please use the Tracker node from now on.").toStdString() ); |
| 2108 | |
| 2109 | return false; |
| 2110 | #if 0 |
| 2111 | assert( QThread::currentThread() == qApp->thread() ); |
| 2112 | |
| 2113 | |
| 2114 | std::vector<KnobButton*> instanceButtons; |
| 2115 | if ( !_imp->getTrackInstancesForButton(&instanceButtons, kNatronParamTrackingNext) ) { |
| 2116 | return false; |
| 2117 | } |
| 2118 | |
| 2119 | double leftBound, rightBound; |
| 2120 | getApp()->getFrameRange(&leftBound, &rightBound); |
| 2121 | TimeLinePtr timeline = getApp()->getTimeLine(); |
| 2122 | int end = rightBound + 1; |
| 2123 | int start = timeline->currentFrame(); |
| 2124 | |
| 2125 | _imp->scheduler.track( TrackArgsV1(start, end, 1, getApp()->getTimeLine(), viewer, instanceButtons) ); |
| 2126 | |
| 2127 | return true; |
| 2128 | #endif |
| 2129 | } // trackForward |
| 2130 | |
| 2131 | void |
| 2132 | TrackerPanelV1::stopTracking() |
nothing calls this directly
no test coverage detected