summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-07 13:42:58 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-07 13:42:58 +0000
commit6255e3bc1ad8c5c3824483e55e6f3c9de6941e5f (patch)
tree82c19e9016aefeafbe9d2e263f2c82a3b442d537 /src/ui/tool/node.cpp
parentFix scaling handles (diff)
downloadinkscape-6255e3bc1ad8c5c3824483e55e6f3c9de6941e5f.tar.gz
inkscape-6255e3bc1ad8c5c3824483e55e6f3c9de6941e5f.zip
fix in nodes
(bzr r11950.1.172)
Diffstat (limited to 'src/ui/tool/node.cpp')
-rw-r--r--src/ui/tool/node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 1151dc41b..7506a54a8 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -635,6 +635,8 @@ Node::Node(NodeSharedData const &data, Geom::Point const &initial_pos) :
_handles_shown(false)
{
this->bsplineWeight = 0.3334;
+ if(_front->position() == this->position() && _back->position() == this->position())
+ this->bsplineWeight = 0.0000;
// NOTE we do not set type here, because the handles are still degenerate
}