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

Method onTrackPrevClicked

Engine/TrackerNodeInteract.cpp:225–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void
226TrackerNodeInteract::onTrackPrevClicked()
227{
228 OverlaySupport* overlay = _p->publicInterface->getCurrentViewportForOverlays();
229
230 assert(overlay);
231 ViewerInstance* viewer = overlay->getInternalViewerNode();
232 assert(viewer);
233 int startFrame = viewer->getTimeline()->currentFrame();
234 TrackerContextPtr ctx = getContext();
235 ctx->trackSelectedMarkers( startFrame, startFrame - 2, -1, overlay );
236}
237
238void
239TrackerNodeInteract::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