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

Method trackForward

Gui/MultiInstancePanel.cpp:2104–2129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2102} // trackBackward
2103
2104bool
2105TrackerPanelV1::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
2131void
2132TrackerPanelV1::stopTracking()

Callers

nothing calls this directly

Calls 7

getAppFunction · 0.85
toStdStringMethod · 0.80
trackMethod · 0.80
getFrameRangeMethod · 0.45
getTimeLineMethod · 0.45
currentFrameMethod · 0.45

Tested by

no test coverage detected