diff options
| author | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-05-05 07:13:35 +0000 |
|---|---|---|
| committer | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-05-05 07:13:35 +0000 |
| commit | 5a8b00f027b9eb3d4abb290d2ddf26d36d71cf80 (patch) | |
| tree | f85f72eb8642eb842dcd02f20967e5bd2b8b95d1 /src/ui/tool/node.cpp | |
| parent | update to trunk (diff) | |
| download | inkscape-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 'src/ui/tool/node.cpp')
| -rw-r--r-- | src/ui/tool/node.cpp | 8 |
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) { |
