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

Method isMarkerSelected

Engine/TrackerContext.cpp:697–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695}
696
697bool
698TrackerContext::isMarkerSelected(const TrackMarkerPtr& marker) const
699{
700 QMutexLocker k(&_imp->trackerContextMutex);
701
702 for (std::list<TrackMarkerPtr>::const_iterator it = _imp->selectedMarkers.begin(); it != _imp->selectedMarkers.end(); ++it) {
703 if (*it == marker) {
704 return true;
705 }
706 }
707
708 return false;
709}
710
711void
712TrackerContext::endSelection(TrackSelectionReason reason)

Callers 2

onOverlayPenDownMethod · 0.80
onOverlayPenMotionMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected