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

Method getNode

Engine/PyNodeGroup.cpp:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53Effect*
54Group::getNode(const QString& fullySpecifiedName) const
55{
56 if ( !_collection.lock() ) {
57 return 0;
58 }
59 NodePtr node = _collection.lock()->getNodeByFullySpecifiedName( fullySpecifiedName.toStdString() );
60 if ( node && node->isActivated() ) {
61 return new Effect(node);
62 } else {
63 return NULL;
64 }
65}
66
67std::list<Effect*>
68Group::getChildren() const

Callers

nothing calls this directly

Calls 4

toStdStringMethod · 0.80
lockMethod · 0.45
isActivatedMethod · 0.45

Tested by

no test coverage detected