summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pencil-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-12-02 10:51:39 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-12-02 10:51:39 +0000
commitb95f5438b75deffac0e8780857733257e21b1f68 (patch)
treeb261d5af0bdcf1c0c0a051ddf017e5d3dccbd677 /src/ui/tools/pencil-tool.cpp
parentMerge branch 'master' into powerpencilII (diff)
downloadinkscape-b95f5438b75deffac0e8780857733257e21b1f68.tar.gz
inkscape-b95f5438b75deffac0e8780857733257e21b1f68.zip
Remobing bspline interpolator
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
-rw-r--r--src/ui/tools/pencil-tool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp
index 1e1650d44..108a89af8 100644
--- a/src/ui/tools/pencil-tool.cpp
+++ b/src/ui/tools/pencil-tool.cpp
@@ -684,6 +684,7 @@ PencilTool::_powerStrokePreview(Geom::Path const path, std::vector<Geom::Point>
Effect* lpe = lpeitem->getCurrentLPE();
lpe->getRepr()->setAttribute("sort_points", "true");
lpe->getRepr()->setAttribute("interpolator_type", "CentripetalCatmullRom");
+ lpe->getRepr()->setAttribute("interpolate_original", "true");
lpe->getRepr()->setAttribute("interpolator_beta", "0.2");
lpe->getRepr()->setAttribute("miter_limit", "100");
lpe->getRepr()->setAttribute("linejoin_type", "miter");