MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / ~AddMultipleNodesCommand

Method ~AddMultipleNodesCommand

Gui/NodeGraphUndoRedo.cpp:126–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126AddMultipleNodesCommand::~AddMultipleNodesCommand()
127{
128 if (_isUndone) {
129 for (std::list<NodeGuiWPtr>::iterator it = _nodes.begin(); it != _nodes.end(); ++it) {
130 NodeGuiPtr node = it->lock();
131 if (node) {
132 node->getNode()->destroyNode(false, false);
133 }
134 }
135 }
136 setText( tr("Add node") );
137}
138
139void
140AddMultipleNodesCommand::undo()

Callers

nothing calls this directly

Calls 6

setTextFunction · 0.85
destroyNodeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
lockMethod · 0.45
getNodeMethod · 0.45

Tested by

no test coverage detected