diff options
| author | root <root@jtx.marker.es> | 2013-05-06 01:36:46 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-05-06 01:36:46 +0000 |
| commit | 417a1e079bbc94ac0d8c6631832e47a35098ba98 (patch) | |
| tree | d63500ec90c44a3b321cdad4257113d40aee9450 /src/ui/tool/node.cpp | |
| parent | update to trunk (diff) | |
| download | inkscape-417a1e079bbc94ac0d8c6631832e47a35098ba98.tar.gz inkscape-417a1e079bbc94ac0d8c6631832e47a35098ba98.zip | |
Change only selected nodes
(bzr r11950.1.113)
Diffstat (limited to 'src/ui/tool/node.cpp')
| -rw-r--r-- | src/ui/tool/node.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp index 1d7b5850f..5362a6c45 100644 --- a/src/ui/tool/node.cpp +++ b/src/ui/tool/node.cpp @@ -219,11 +219,13 @@ void Handle::move(Geom::Point const &new_pos) typedef ControlPointSelection::Set Set; Set &nodes = _parent->_selection.allPoints(); for (Set::iterator i = nodes.begin(); i != nodes.end(); ++i) { - Node *n = static_cast<Node*>(*i); - h = n->front(); - h2 = n->back(); - h->setPosition(_pm().BSplineHandleReposition(h,_parent->bsplineWeight)); - h2->setPosition(_pm().BSplineHandleReposition(h2,_parent->bsplineWeight)); + if((*i)->selected()){ + Node *n = static_cast<Node*>(*i); + h = n->front(); + h2 = n->back(); + h->setPosition(_pm().BSplineHandleReposition(h,_parent->bsplineWeight)); + h2->setPosition(_pm().BSplineHandleReposition(h2,_parent->bsplineWeight)); + } } } //BSpline End |
