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

Method setVisibleItemKeyframes

Gui/TrackerPanel.cpp:1699–1721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1697}
1698
1699void
1700TrackerPanelPrivate::setVisibleItemKeyframes(const std::list<int>& keyframes,
1701 bool visible,
1702 bool emitSignal)
1703{
1704 NodeGuiPtr n = node.lock();
1705 if (!n) {
1706 return;
1707 }
1708 NodePtr internalNode = n->getNode();
1709 if (!internalNode) {
1710 return;
1711 }
1712 AppInstancePtr app = internalNode->getApp();
1713 if (!app) {
1714 return;
1715 }
1716 if (!visible) {
1717 app->removeMultipleKeyframeIndicator(keyframes, emitSignal);
1718 } else {
1719 app->addMultipleKeyframeIndicatorsAdded(keyframes, emitSignal);
1720 }
1721}
1722
1723void
1724TrackerPanelPrivate::setVisibleItemUserKeyframes(const std::list<int>& keyframes,

Callers 3

onTrackAboutToCloneMethod · 0.45
onTrackClonedMethod · 0.45
onSettingsPanelClosedMethod · 0.45

Calls 5

lockMethod · 0.45
getNodeMethod · 0.45
getAppMethod · 0.45

Tested by

no test coverage detected