summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-03-19 03:35:35 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-03-19 03:35:35 +0000
commit4e41340374ba833e748ffbbc610a28c7c3559557 (patch)
treeacbae23477b3c4c42ab9673731ac8c7473824d80 /src/ui/tool/path-manipulator.cpp
parentworking whith widgets (diff)
downloadinkscape-4e41340374ba833e748ffbbc610a28c7c3559557.tar.gz
inkscape-4e41340374ba833e748ffbbc610a28c7c3559557.zip
Working width widgets
(bzr r11950.1.58)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index b46e85622..853d9336a 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1191,7 +1191,7 @@ int PathManipulator::getControlBsplineSteps(){
if (SP_LPE_ITEM(_path) && sp_lpe_item_has_path_effect(SP_LPE_ITEM(_path))){
lpe_bsp = dynamic_cast<LivePathEffect::LPEBSpline*>(sp_lpe_item_has_path_effect_of_type(SP_LPE_ITEM(_path),Inkscape::LivePathEffect::BSPLINE)->getLPEObj()->get_lpe());
if(lpe_bsp){
- return lpe_bsp->steps;
+ return lpe_bsp->steps+1;
}
}
return 2;