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

Method getOutputNode

Engine/NodeGroup.cpp:1457–1468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455}
1456
1457NodePtr
1458NodeGroup::getOutputNode(bool useGuiConnexions) const
1459{
1460 QMutexLocker k(&_imp->nodesLock);
1461
1462 ///A group can only have a single output.
1463 if ( ( !useGuiConnexions && _imp->outputs.empty() ) || ( useGuiConnexions && _imp->guiOutputs.empty() ) ) {
1464 return NodePtr();
1465 }
1466
1467 return useGuiConnexions ? _imp->guiOutputs.front().lock() : _imp->outputs.front().lock();
1468}
1469
1470NodePtr
1471NodeGroup::getOutputNodeInput(bool useGuiConnexions) const

Callers 7

canConnectInputMethod · 0.45
getPreferredInputNodeMethod · 0.45
onInputChangedMethod · 0.45
Node.cppFile · 0.45
InlineGroupCommandMethod · 0.45

Calls 2

emptyMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected