| 1502 | } |
| 1503 | |
| 1504 | void |
| 1505 | TrackerPanel::onTrackAllKeyframesRemoved(const TrackMarkerPtr& marker) |
| 1506 | { |
| 1507 | TrackKeysMap::iterator it = _imp->keys.find(marker); |
| 1508 | |
| 1509 | if ( it == _imp->keys.end() ) { |
| 1510 | return; |
| 1511 | } |
| 1512 | std::list<SequenceTime> toRemove; |
| 1513 | |
| 1514 | for (std::set<int>::iterator it2 = it->second.userKeys.begin(); it2 != it->second.userKeys.end(); ++it2) { |
| 1515 | toRemove.push_back(*it2); |
| 1516 | } |
| 1517 | it->second.userKeys.clear(); |
| 1518 | |
| 1519 | |
| 1520 | if (it->second.visible) { |
| 1521 | AppInstancePtr app = _imp->node.lock()->getNode()->getApp(); |
| 1522 | _imp->updateTrackKeysInfoBar( app->getTimeLine()->currentFrame() ); |
| 1523 | app->removeUserMultipleKeyframeIndicator(toRemove, true); |
| 1524 | } |
| 1525 | } |
| 1526 | |
| 1527 | void |
| 1528 | TrackerPanel::onKeyframeSetOnTrackCenter(const TrackMarkerPtr &marker, |
nothing calls this directly
no test coverage detected