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

Method setLastViewerUsingTimeline

Gui/GuiAppInstance.cpp:950–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950void
951GuiAppInstance::setLastViewerUsingTimeline(const NodePtr& node)
952{
953 if (!node) {
954 QMutexLocker k(&_imp->lastTimelineViewerMutex);
955 _imp->lastTimelineViewer.reset();
956
957 return;
958 }
959 if ( node->isEffectViewer() ) {
960 QMutexLocker k(&_imp->lastTimelineViewerMutex);
961 _imp->lastTimelineViewer = node;
962 }
963}
964
965ViewerInstance*
966GuiAppInstance::getLastViewerUsingTimeline() const

Callers 7

startPauseMethod · 0.45
startBackwardMethod · 0.45
seekMethod · 0.45
mouseMoveEventMethod · 0.45
mouseReleaseEventMethod · 0.45
mouseMoveEventMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected