MCPcopy Create free account
hub / github.com/MrKepzie/Natron / onTrackPrevClicked

Method onTrackPrevClicked

Engine/TrackerNodeInteract.cpp:228–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void
229TrackerNodeInteract::onTrackPrevClicked()
230{
231 OverlaySupport* overlay = _p->publicInterface->getCurrentViewportForOverlays();
232
233 assert(overlay);
234 ViewerInstance* viewer = overlay->getInternalViewerNode();
235 assert(viewer);
236 int startFrame = viewer->getTimeline()->currentFrame();
237 boost::shared_ptr<TrackerContext> ctx = getContext();
238 ctx->trackSelectedMarkers( startFrame, startFrame - 2, -1, overlay );
239}
240
241void
242TrackerNodeInteract::onStopButtonClicked()

Callers 1

knobChangedMethod · 0.80

Calls 5

getInternalViewerNodeMethod · 0.80
trackSelectedMarkersMethod · 0.80
currentFrameMethod · 0.45
getTimelineMethod · 0.45

Tested by

no test coverage detected