summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.cpp
diff options
context:
space:
mode:
authorVinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>2014-05-05 07:13:35 +0000
committerVinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>2014-05-05 07:13:35 +0000
commit5a8b00f027b9eb3d4abb290d2ddf26d36d71cf80 (patch)
treef85f72eb8642eb842dcd02f20967e5bd2b8b95d1 /src/ui/tool/node.cpp
parentupdate to trunk (diff)
downloadinkscape-5a8b00f027b9eb3d4abb290d2ddf26d36d71cf80.tar.gz
inkscape-5a8b00f027b9eb3d4abb290d2ddf26d36d71cf80.zip
Enabling path manipulator to comunicate if paths are bspline when
accessing const objects. This change was required to correctly show on the GUI whether or not a node was a bspline. (bzr r11950.8.1)
Diffstat (limited to '')
-rw-r--r--src/ui/tool/node.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 7ba69b039..6cb254b7f 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -1421,13 +1421,7 @@ Node *Node::nodeAwayFrom(Handle *h)
Glib::ustring Node::_getTip(unsigned state) const
{
-
- /* if the node doesnt have strength, it marks it as bspline, we'll use it later
- to show the appropiate messages. We cannot do it in any other way, because the
- function is constant */
- bool isBSpline = false;
- //if( this->bsplineWeight != 0.0000)
- // isBSpline = true;
+ bool isBSpline = _pm().isBSpline();
if (state_held_shift(state)) {
bool can_drag_out = (_next() && _front.isDegenerate()) || (_prev() && _back.isDegenerate());
if (can_drag_out) {