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

Method ~RemoveMultipleNodesCommand

Gui/NodeGraphUndoRedo.cpp:255–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255RemoveMultipleNodesCommand::~RemoveMultipleNodesCommand()
256{
257 if (_isRedone) {
258 for (std::list<NodeToRemove>::iterator it = _nodes.begin(); it != _nodes.end(); ++it) {
259 NodeGuiPtr n = it->node.lock();
260 if (n) {
261 n->getNode()->destroyNode(false, false);
262 }
263 }
264 }
265}
266
267void
268RemoveMultipleNodesCommand::undo()

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected