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

Method removeKnob

Engine/KnobTypes.cpp:1546–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544}
1545
1546void
1547KnobGroup::removeKnob(KnobI* k)
1548{
1549 for (std::vector<KnobIWPtr>::iterator it = _children.begin(); it != _children.end(); ++it) {
1550 if (it->lock().get() == k) {
1551 _children.erase(it);
1552
1553 return;
1554 }
1555 }
1556}
1557
1558bool
1559KnobGroup::moveOneStepUp(KnobI* k)

Callers 5

resetParentMethod · 0.80

Calls 5

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45
lockMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected