summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-08-29 10:02:38 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-08-29 10:02:38 +0000
commit5451be0409b994cf8ecb9590138fb2464ffa74a0 (patch)
tree2007033291bcdffbafaf6f292cadaca7b2bf960b /src/ui/tools/freehand-base.cpp
parentRemove LPE Simplify from spiro and BSpline mode because made uncontrolable pa... (diff)
downloadinkscape-5451be0409b994cf8ecb9590138fb2464ffa74a0.tar.gz
inkscape-5451be0409b994cf8ecb9590138fb2464ffa74a0.zip
Ressurrect Spiro Symplify by LPE because no wrong results and retain removed in bspline mode
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index fdc70af18..4313c4e29 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -322,7 +322,7 @@ static void spdc_check_for_and_apply_waiting_LPE(FreehandBase *dc, SPItem *item,
bool simplify = prefs->getInt(tool_name(dc) + "/simplify", 0);
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0);
- if(simplify && mode == 0){
+ if(simplify && mode != 2){
double tol = prefs->getDoubleLimited("/tools/freehand/pencil/tolerance", 10.0, 1.0, 100.0);
tol = tol/(100.0*(102.0-tol));
std::ostringstream ss;