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

Method getTimeLineFirstFrame

Engine/TrackerContext.cpp:442–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442int
443TrackerContext::getTimeLineFirstFrame() const
444{
445 NodePtr node = getNode();
446
447 if (!node) {
448 return -1;
449 }
450 double first, last;
451 node->getApp()->getProject()->getFrameRange(&first, &last);
452
453 return (int)first;
454}
455
456int
457TrackerContext::getTimeLineLastFrame() const

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