MCPcopy Create free account
hub / github.com/christophhart/HISE / removeCable

Method removeCable

hi_scripting/scripting/scriptnode/api/NodeBase.cpp:1842–1849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1840}
1841
1842void ConnectionSourceManager::CableRemoveListener::removeCable(ValueTree& v)
1843{
1844 if (auto node = parent.n->getNodeForValueTree(v))
1845 {
1846 if (!node->isBeingMoved())
1847 data.getParent().removeChild(data, parent.n->getUndoManager(false));
1848 }
1849}
1850
1851juce::ValueTree ConnectionSourceManager::CableRemoveListener::findTargetNodeData(const ValueTree& recursiveTree)
1852{

Callers

nothing calls this directly

Calls 5

getNodeForValueTreeMethod · 0.80
isBeingMovedMethod · 0.80
removeChildMethod · 0.45
getParentMethod · 0.45
getUndoManagerMethod · 0.45

Tested by

no test coverage detected