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

Method removeUserKeyFrameIndicator

Gui/GuiAppInstance.cpp:1484–1495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484void
1485GuiAppInstance::removeUserKeyFrameIndicator(SequenceTime time)
1486{
1487 ///runs only in the main thread
1488 assert( QThread::currentThread() == qApp->thread() );
1489
1490 std::list<SequenceTime>::iterator it = std::find(_imp->timelineUserKeys.begin(), _imp->timelineUserKeys.end(), time);
1491 if ( it != _imp->timelineUserKeys.end() ) {
1492 _imp->timelineUserKeys.erase(it);
1493 Q_EMIT keyframeIndicatorsChanged();
1494 }
1495}
1496
1497void
1498GuiAppInstance::removeUserMultipleKeyframeIndicator(const std::list<SequenceTime> & keys,

Callers 1

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected