summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-22 20:25:18 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-22 20:25:18 +0000
commit535ed65a232ae48ed3b107304dc416ec5eba249e (patch)
tree153a3aa34db90915b0674d98628dca23af325059 /src/ui/tools/freehand-base.cpp
parentfix typo in intersection_point() (Bug 1475097) (diff)
downloadinkscape-535ed65a232ae48ed3b107304dc416ec5eba249e.tar.gz
inkscape-535ed65a232ae48ed3b107304dc416ec5eba249e.zip
Fix a bug continuing a bezier path whith a LPE one like spiro or bspline on a start node
(bzr r14252)
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index 4fad06c98..e8cbfcdbf 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -598,10 +598,9 @@ void spdc_concat_colors_and_flush(FreehandBase *dc, gboolean forceclosed)
if(prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1 ||
prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2){
s = dc->overwrite_curve;
- } else {
- if (dc->sa->start) {
- s = reverse_then_unref(s);
- }
+ }
+ if (dc->sa->start) {
+ s = reverse_then_unref(s);
}
s->append_continuous(c, 0.0625);
c->unref();