diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 6419acf6d32e12bc842a43a9a14584035e7f7c1b..9f1e25877254214e172202eabfa5174501dac323 100644 (file)
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
// Build the list of unselected nodes.
typedef ControlPointSelection::Set Set;
- Set nodes = _selection.allPoints();
+ Set &nodes = _selection.allPoints();
for (Set::iterator i = nodes.begin(); i != nodes.end(); ++i) {
if (!(*i)->selected()) {
Node *n = static_cast<Node*>(*i);