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

Method trackBackward

Gui/MultiInstancePanel.cpp:2078–2102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2076}
2077
2078bool
2079TrackerPanelV1::trackBackward(ViewerInstance* /*viewer*/)
2080{
2081 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() );
2082
2083 return false;
2084#if 0
2085 assert( QThread::currentThread() == qApp->thread() );
2086
2087
2088 std::vector<KnobButton*> instanceButtons;
2089 if ( !_imp->getTrackInstancesForButton(&instanceButtons, kNatronParamTrackingPrevious) ) {
2090 return false;
2091 }
2092
2093 double leftBound, rightBound;
2094 getApp()->getFrameRange(&leftBound, &rightBound);
2095 int end = leftBound - 1;
2096 int start = getApp()->getTimeLine()->currentFrame();
2097
2098 _imp->scheduler.track( TrackArgsV1(start, end, -1, getApp()->getTimeLine(), viewer, instanceButtons) );
2099
2100 return true;
2101#endif
2102} // trackBackward
2103
2104bool
2105TrackerPanelV1::trackForward(ViewerInstance* /*viewer*/)

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected