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

Method removeNodesKeyframesFromTimeline

Gui/GuiAppInstance.cpp:1553–1571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1551}
1552
1553void
1554GuiAppInstance::removeNodesKeyframesFromTimeline(const std::list<Node*> & nodes)
1555{
1556 ///runs only in the main thread
1557 assert( QThread::currentThread() == qApp->thread() );
1558
1559 std::list<Node*>::const_iterator next = nodes.begin();
1560 if ( next != nodes.end() ) {
1561 ++next;
1562 }
1563 for (std::list<Node*>::const_iterator it = nodes.begin(); it != nodes.end(); ++it) {
1564 (*it)->hideKeyframesFromTimeline( next == nodes.end() );
1565
1566 // increment for next iteration
1567 if ( next != nodes.end() ) {
1568 ++next;
1569 }
1570 } // for(it)
1571}
1572
1573void
1574GuiAppInstance::removeNodeKeyframesFromTimeline(Node* node)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected