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

Method removeNodesKeyframesFromTimeline

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

Source from the content-addressed store, hash-verified

1533}
1534
1535void
1536GuiAppInstance::removeNodesKeyframesFromTimeline(const std::list<Node*> & nodes)
1537{
1538 ///runs only in the main thread
1539 assert( QThread::currentThread() == qApp->thread() );
1540
1541 std::list<Node*>::const_iterator next = nodes.begin();
1542 if ( next != nodes.end() ) {
1543 ++next;
1544 }
1545 for (std::list<Node*>::const_iterator it = nodes.begin(); it != nodes.end(); ++it) {
1546 (*it)->hideKeyframesFromTimeline( next == nodes.end() );
1547
1548 // increment for next iteration
1549 if ( next != nodes.end() ) {
1550 ++next;
1551 }
1552 } // for(it)
1553}
1554
1555void
1556GuiAppInstance::removeNodeKeyframesFromTimeline(Node* node)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected