summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-01-30 21:16:10 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-01-30 21:16:10 +0000
commit2cb207295847d68e22aab2e8adb967819ff8feaa (patch)
treec7fdc79d543e988f75254d6d53ac9d66d01f16b4 /src/ui/tool/path-manipulator.cpp
parentfix bug compiling (diff)
downloadinkscape-2cb207295847d68e22aab2e8adb967819ff8feaa.tar.gz
inkscape-2cb207295847d68e22aab2e8adb967819ff8feaa.zip
Hack to can show/hide bspline lines
(bzr r11950.1.243)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 83af89732..9cda94097 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -150,6 +150,8 @@ PathManipulator::PathManipulator(MultiPathManipulator &mpm, SPPath *path,
BSpline();
if(isBSpline){
_show_outline = true;
+ _updateOutline();
+ _show_outline = false;
}
}
@@ -914,8 +916,7 @@ void PathManipulator::showHandles(bool show)
/** Set the visibility of outline. */
void PathManipulator::showOutline(bool show)
{
- //if(isBSpline) show = true;
- //if (show == _show_outline) return;
+ if (show == _show_outline) return;
_show_outline = show;
_updateOutline();
}