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

Method ~AddMultipleNodesCommand

Gui/NodeGraphUndoRedo.cpp:125–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125AddMultipleNodesCommand::~AddMultipleNodesCommand()
126{
127 if (_isUndone) {
128 for (std::list<boost::weak_ptr<NodeGui> >::iterator it = _nodes.begin(); it != _nodes.end(); ++it) {
129 NodeGuiPtr node = it->lock();
130 if (node) {
131 node->getNode()->destroyNode(false, false);
132 }
133 }
134 }
135}
136
137void
138AddMultipleNodesCommand::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