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

Method getInputs

Engine/NodeGroup.cpp:1531–1554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1529}
1530
1531void
1532NodeGroup::getInputs(std::vector<NodePtr >* inputs,
1533 bool useGuiConnexions) const
1534{
1535 QMutexLocker k(&_imp->nodesLock);
1536
1537 if (!useGuiConnexions) {
1538 for (U32 i = 0; i < _imp->inputs.size(); ++i) {
1539 NodePtr input = _imp->inputs[i].lock();
1540 if (!input) {
1541 continue;
1542 }
1543 inputs->push_back(input);
1544 }
1545 } else {
1546 for (U32 i = 0; i < _imp->guiInputs.size(); ++i) {
1547 NodePtr input = _imp->guiInputs[i].lock();
1548 if (!input) {
1549 continue;
1550 }
1551 inputs->push_back(input);
1552 }
1553 }
1554}
1555
1556void
1557NodeGroup::purgeCaches()

Callers 9

getPreferredInputNodeMethod · 0.80
Node.cppFile · 0.80
getInputs_copyMethod · 0.80
onInputChangedMethod · 0.80
restoreConnectionsMethod · 0.80
redoMethod · 0.80
InlineGroupCommandMethod · 0.80

Calls 3

sizeMethod · 0.45
lockMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected