| 1482 | } |
| 1483 | |
| 1484 | void |
| 1485 | TrackerPanel::onTrackKeyframeRemoved(const TrackMarkerPtr& marker, |
| 1486 | int key) |
| 1487 | { |
| 1488 | TrackKeysMap::iterator found = _imp->keys.find(marker); |
| 1489 | |
| 1490 | if ( found == _imp->keys.end() ) { |
| 1491 | return; |
| 1492 | } |
| 1493 | std::set<int>::iterator it2 = found->second.userKeys.find(key); |
| 1494 | if ( it2 != found->second.userKeys.end() ) { |
| 1495 | found->second.userKeys.erase(it2); |
| 1496 | if (found->second.visible) { |
| 1497 | AppInstancePtr app = _imp->node.lock()->getNode()->getApp(); |
| 1498 | _imp->updateTrackKeysInfoBar( app->getTimeLine()->currentFrame() ); |
| 1499 | app->removeUserKeyFrameIndicator(key); |
| 1500 | } |
| 1501 | } |
| 1502 | } |
| 1503 | |
| 1504 | void |
| 1505 | TrackerPanel::onTrackAllKeyframesRemoved(const TrackMarkerPtr& marker) |
nothing calls this directly
no test coverage detected