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

Method rebuildMarkerTextures

Engine/TrackerNodeInteract.cpp:1413–1428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1411}
1412
1413void
1414TrackerNodeInteract::rebuildMarkerTextures()
1415{
1416 ///Refresh textures for all markers
1417 std::list<TrackMarkerPtr> markers;
1418
1419 getContext()->getSelectedMarkers(&markers);
1420 for (std::list<TrackMarkerPtr>::iterator it = markers.begin(); it != markers.end(); ++it) {
1421 std::set<int> keys;
1422 (*it)->getUserKeyframes(&keys);
1423 for (std::set<int>::iterator it2 = keys.begin(); it2 != keys.end(); ++it2) {
1424 makeMarkerKeyTexture(*it2, *it);
1425 }
1426 }
1427 onContextSelectionChanged(TrackerContext::eTrackSelectionInternal);
1428}
1429
1430/**
1431 *@brief Moves of the given pixel the selected tracks.

Callers

nothing calls this directly

Calls 4

getSelectedMarkersMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getUserKeyframesMethod · 0.45

Tested by

no test coverage detected