MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onKeyframeRemovedOnTrack

Method onKeyframeRemovedOnTrack

Engine/TrackerNodeInteract.cpp:1786–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1784}
1785
1786void
1787TrackerNodeInteract::onKeyframeRemovedOnTrack(const TrackMarkerPtr& marker,
1788 int key)
1789{
1790 for (TrackerNodeInteract::TrackKeysMap::iterator it = trackTextures.begin(); it != trackTextures.end(); ++it) {
1791 if (it->first.lock() == marker) {
1792 std::map<int, TexturePtr>::iterator found = it->second.find(key);
1793 if ( found != it->second.end() ) {
1794 it->second.erase(found);
1795 }
1796 break;
1797 }
1798 }
1799 _p->publicInterface->redrawOverlayInteract();
1800}
1801
1802void
1803TrackerNodeInteract::onAllKeyframesRemovedOnTrack(const TrackMarkerPtr& marker)

Callers

nothing calls this directly

Calls 6

beginMethod · 0.45
endMethod · 0.45
lockMethod · 0.45
findMethod · 0.45
eraseMethod · 0.45
redrawOverlayInteractMethod · 0.45

Tested by

no test coverage detected