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

Method removeKeyFrameWithTime

Engine/Curve.cpp:554–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554void
555Curve::removeKeyFrameWithTime(double time)
556{
557 QMutexLocker l(&_imp->_lock);
558 KeyFrameSet::iterator it = find(time);
559
560 if ( it == _imp->keyFrames.end() ) {
561 throw std::out_of_range("Curve::removeKeyFrameWithTime: non-existent keyframe");
562 }
563
564 removeKeyFrame(it);
565}
566
567void
568Curve::removeKeyFramesBeforeTime(double time,

Callers 3

removeKeyframeMethod · 0.80
deleteValuesAtTimeMethod · 0.80
deleteValueAtTimeMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected