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

Method removeKeyFrameIndicator

Gui/GuiAppInstance.cpp:1417–1428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1415}
1416
1417void
1418GuiAppInstance::removeKeyFrameIndicator(SequenceTime time)
1419{
1420 ///runs only in the main thread
1421 assert( QThread::currentThread() == qApp->thread() );
1422
1423 std::list<SequenceTime>::iterator it = std::find(_imp->timelineKeyframes.begin(), _imp->timelineKeyframes.end(), time);
1424 if ( it != _imp->timelineKeyframes.end() ) {
1425 _imp->timelineKeyframes.erase(it);
1426 Q_EMIT keyframeIndicatorsChanged();
1427 }
1428}
1429
1430void
1431GuiAppInstance::removeMultipleKeyframeIndicator(const std::list<SequenceTime> & keys,

Callers 6

onItemRemovedMethod · 0.80
removeItemKeyMethod · 0.80
onInternalKeyRemovedMethod · 0.80
onKeyFrameMovedMethod · 0.80
removeKeyFrameMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected