| 1463 | } |
| 1464 | |
| 1465 | void |
| 1466 | TrackerPanel::onTrackKeyframeSet(const TrackMarkerPtr& marker, |
| 1467 | int key) |
| 1468 | { |
| 1469 | TrackKeysMap::iterator found = _imp->keys.find(marker); |
| 1470 | |
| 1471 | if ( found == _imp->keys.end() ) { |
| 1472 | TrackKeys k; |
| 1473 | k.userKeys.insert(key); |
| 1474 | _imp->keys[marker] = k; |
| 1475 | } else { |
| 1476 | _imp->updateTrackKeysInfoBar(key); |
| 1477 | std::pair<std::set<int>::iterator, bool> ret = found->second.userKeys.insert(key); |
| 1478 | if (ret.second && found->second.visible) { |
| 1479 | _imp->node.lock()->getNode()->getApp()->addUserKeyframeIndicator(key); |
| 1480 | } |
| 1481 | } |
| 1482 | } |
| 1483 | |
| 1484 | void |
| 1485 | TrackerPanel::onTrackKeyframeRemoved(const TrackMarkerPtr& marker, |
nothing calls this directly
no test coverage detected