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

Method isMaskEnabled

Engine/Node.cpp:4382–4392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4380}
4381
4382bool
4383Node::isMaskEnabled(int inputNb) const
4384{
4385 std::map<int, MaskSelector >::const_iterator it = _imp->maskSelectors.find(inputNb);
4386
4387 if ( it != _imp->maskSelectors.end() ) {
4388 return it->second.enabled.lock()->getValue();
4389 } else {
4390 return true;
4391 }
4392}
4393
4394void
4395Node::lock(const ImagePtr & image)

Callers 3

treeRecurseFunctorMethod · 0.45
exportKnobValuesFunction · 0.45
getConnectedMethod · 0.45

Calls 4

findMethod · 0.45
endMethod · 0.45
getValueMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected