summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-11-06 01:12:00 +0000
committerjabiertxof <info@marker.es>2016-11-06 01:12:00 +0000
commitbd0e1bc73283c9e0488b9f71d7ff7da43db57baa (patch)
tree94611cd1dd06dde7b1c5105bcd87970c85dc1acf /src/ui/tools/freehand-base.cpp
parentMove a header place (diff)
downloadinkscape-bd0e1bc73283c9e0488b9f71d7ff7da43db57baa.tar.gz
inkscape-bd0e1bc73283c9e0488b9f71d7ff7da43db57baa.zip
Fix bug on apply bend LPE from pen/cil without cliboard, nothin happends previously
(bzr r15216)
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 deb89b874..36962fe9a 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -794,7 +794,7 @@ static void spdc_flush_white(FreehandBase *dc, SPCurve *gc)
SPItem *item = SP_ITEM(desktop->currentLayer()->appendChildRepr(repr));
//Bend needs the transforms applied after, Other effects best before
if((previous_shape_type == BEND_CLIPBOARD && shape_selected == LAST_APPLIED) ||
- shape_selected == BEND_CLIPBOARD)
+ shape_selected == BEND_CLIPBOARD && previous_shape_type != NONE)
{
spdc_check_for_and_apply_waiting_LPE(dc, item, c);
previous_shape_type = BEND_CLIPBOARD;