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

Method getTimeLineLastFrame

Engine/TrackerContext.cpp:456–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456int
457TrackerContext::getTimeLineLastFrame() const
458{
459 NodePtr node = getNode();
460
461 if (!node) {
462 return -1;
463 }
464 double first, last;
465 node->getApp()->getProject()->getFrameRange(&first, &last);
466
467 return (int)last;
468}
469
470void
471TrackerContext::trackSelectedMarkers(int start,

Callers

nothing calls this directly

Calls 4

getProjectMethod · 0.80
getNodeFunction · 0.70
getFrameRangeMethod · 0.45
getAppMethod · 0.45

Tested by

no test coverage detected