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

Method onTimeChanged

Gui/TrackerPanel.cpp:2035–2047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2033} // TrackerPanelPrivate::updateTrackKeysInfoBar
2034
2035void
2036TrackerPanel::onTimeChanged(SequenceTime time,
2037 int reason)
2038{
2039 _imp->updateTrackKeysInfoBar(time);
2040
2041 std::vector<TrackMarkerPtr> markers;
2042 _imp->context.lock()->getAllMarkers(&markers);
2043
2044 for (std::vector<TrackMarkerPtr>::iterator it = markers.begin(); it != markers.end(); ++it) {
2045 (*it)->refreshAfterTimeChange(reason == eTimelineChangeReasonPlaybackSeek, time);
2046 }
2047}
2048
2049NATRON_NAMESPACE_EXIT
2050

Callers

nothing calls this directly

Calls 6

getAllMarkersMethod · 0.80
lockMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected