| 123 | } |
| 124 | |
| 125 | AddMultipleNodesCommand::~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 | |
| 137 | void |
| 138 | AddMultipleNodesCommand::undo() |
nothing calls this directly
no test coverage detected