| 1551 | } |
| 1552 | |
| 1553 | void |
| 1554 | GuiAppInstance::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 | |
| 1573 | void |
| 1574 | GuiAppInstance::removeNodeKeyframesFromTimeline(Node* node) |
nothing calls this directly
no test coverage detected