summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-10-12 16:23:52 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-10-12 16:23:52 +0000
commit9506eb893b0a00f957624653388e2faad41cbcb8 (patch)
treebf33f305a2a5e8ed92bcd893c9b7583ff431f1f6 /src
parentFix oddities related to smooth endnodes. Should fix a crasher. (diff)
downloadinkscape-9506eb893b0a00f957624653388e2faad41cbcb8.tar.gz
inkscape-9506eb893b0a00f957624653388e2faad41cbcb8.zip
Remove the misfeature of retracting handles when the cusp node button
is clicked and there are cusp nodes selected. It's really annoying when you have both smooth and cusp nodes in a selection. Use segment commands and Ctrl+click to retract handles instead. (bzr r9827)
Diffstat (limited to 'src')
-rw-r--r--src/ui/tool/node.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 7efb6a5dc..399fa5292 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -569,10 +569,13 @@ void Node::setType(NodeType type, bool update_handles)
switch (type) {
case NODE_CUSP:
// if the existing type is also NODE_CUSP, retract handles
- if (_type == NODE_CUSP) {
- _front.retract();
- _back.retract();
- }
+ // NOTE: This misfeature is very annoying when you have both cusp and smooth
+ // nodes in a selection, so I have removed it. Use segment commands
+ // or Ctrl+click to retract handles.
+ //if (_type == NODE_CUSP) {
+ // _front.retract();
+ // _back.retract();
+ //}
break;
case NODE_AUTO:
// auto handles make no sense for endnodes