| 328 | } |
| 329 | |
| 330 | void |
| 331 | TrackerNodeInteract::onSetKeyframeButtonClicked() |
| 332 | { |
| 333 | int time = _p->publicInterface->getCurrentTime(); |
| 334 | std::list<TrackMarkerPtr> markers; |
| 335 | |
| 336 | getContext()->getSelectedMarkers(&markers); |
| 337 | for (std::list<TrackMarkerPtr>::iterator it = markers.begin(); it != markers.end(); ++it) { |
| 338 | (*it)->setUserKeyframe(time); |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | void |
| 343 | TrackerNodeInteract::onRemoveKeyframeButtonClicked() |
no test coverage detected