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

Method hasMandatoryInputDisconnected

Engine/NodeInputs.cpp:512–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510
511
512bool
513Node::hasMandatoryInputDisconnected() const
514{
515 QMutexLocker l(&_imp->inputsMutex);
516
517 for (U32 i = 0; i < _imp->inputs.size(); ++i) {
518 if ( !_imp->inputs[i].lock() && !_imp->effect->isInputOptional(i) ) {
519 return true;
520 }
521 }
522
523 return false;
524}
525
526bool
527Node::hasAllInputsConnected() const

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
lockMethod · 0.45
isInputOptionalMethod · 0.45

Tested by

no test coverage detected