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

Method timeLineGetBounds

Engine/OfxImageEffectInstance.cpp:1090–1099  ·  view source on GitHub ↗

get the first and last times available on the effect's timeline

Source from the content-addressed store, hash-verified

1088
1089/// get the first and last times available on the effect's timeline
1090void
1091OfxImageEffectInstance::timeLineGetBounds(double &t1,
1092 double &t2)
1093{
1094 double first, last;
1095
1096 _ofxEffectInstance.lock()->getApp()->getFrameRange(&first, &last);
1097 t1 = first;
1098 t2 = last;
1099}
1100
1101// override this to make processing abort, return 1 to abort processing
1102int

Callers

nothing calls this directly

Calls 3

getFrameRangeMethod · 0.45
getAppMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected