summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-17 21:32:18 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-17 21:32:18 +0000
commit332ce1f44ba815b149c288b2cc03977caeb56adf (patch)
treec546177481baac15c8a892caa3a2f66443e6fd67 /src
parentfix a bug in bspline on apply on non shapes (diff)
downloadinkscape-332ce1f44ba815b149c288b2cc03977caeb56adf.tar.gz
inkscape-332ce1f44ba815b149c288b2cc03977caeb56adf.zip
fix a bug in fillet/chamfer on apply on non shapes
(bzr r13727)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 680b4f763..119759b87 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -431,6 +431,8 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem)
fillet_chamfer_values.param_set_and_write_new_value(point);
} else {
g_warning("LPE Fillet can only be applied to shapes (not groups).");
+ SPLPEItem * item = const_cast<SPLPEItem*>(lpeItem);
+ item->removeCurrentPathEffect(false);
}
}