diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-07-10 22:58:49 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-07-10 22:58:49 +0000 |
| commit | e45d61d03281d9103b3b8daf40b84e6f415eadc4 (patch) | |
| tree | 7bd0b39b979a7e5990f3b19358689ef553dce1b7 /src/ui/tools/freehand-base.cpp | |
| parent | Force PNG bitmap export to always write with PNG extension (diff) | |
| download | inkscape-e45d61d03281d9103b3b8daf40b84e6f415eadc4.tar.gz inkscape-e45d61d03281d9103b3b8daf40b84e6f415eadc4.zip | |
Fix a bug continuing a bezier path whith a LPE one like spiro or bspline
(bzr r14239)
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
| -rw-r--r-- | src/ui/tools/freehand-base.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp index e8cbfcdbf..4fad06c98 100644 --- a/src/ui/tools/freehand-base.cpp +++ b/src/ui/tools/freehand-base.cpp @@ -598,9 +598,10 @@ 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; - } - if (dc->sa->start) { - s = reverse_then_unref(s); + } else { + if (dc->sa->start) { + s = reverse_then_unref(s); + } } s->append_continuous(c, 0.0625); c->unref(); |
