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

Method getOutputNode

Engine/NodeGroup.cpp:1443–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441}
1442
1443NodePtr
1444NodeGroup::getOutputNode(bool useGuiConnexions) const
1445{
1446 QMutexLocker k(&_imp->nodesLock);
1447
1448 ///A group can only have a single output.
1449 if ( ( !useGuiConnexions && _imp->outputs.empty() ) || ( useGuiConnexions && _imp->guiOutputs.empty() ) ) {
1450 return NodePtr();
1451 }
1452
1453 return useGuiConnexions ? _imp->guiOutputs.front().lock() : _imp->outputs.front().lock();
1454}
1455
1456NodePtr
1457NodeGroup::getOutputNodeInput(bool useGuiConnexions) const

Callers 7

getPreferredInputNodeMethod · 0.45
canConnectInputMethod · 0.45
getRotoContextMethod · 0.45
onInputChangedMethod · 0.45
InlineGroupCommandMethod · 0.45

Calls 2

emptyMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected