summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-01 11:03:12 +0000
committerjabiertxof <info@marker.es>2016-03-01 11:03:12 +0000
commitfb08e5217a32dbfaf097cb26d67d9d7e0f5b718e (patch)
tree2efcfd911f49a7dd8c244c9b1f59ca9f05c256c2 /src
parentupdate to trunk (diff)
downloadinkscape-fb08e5217a32dbfaf097cb26d67d9d7e0f5b718e.tar.gz
inkscape-fb08e5217a32dbfaf097cb26d67d9d7e0f5b718e.zip
Fix a bug with 0 width shapes
(bzr r14648.1.4)
Diffstat (limited to 'src')
-rw-r--r--src/ui/tools/eraser-tool.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp
index 698415480..b34a2d3ce 100644
--- a/src/ui/tools/eraser-tool.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -699,7 +699,9 @@ void EraserTool::set_to_accumulated() {
this->repr->parent()->appendChild(dup);
Inkscape::GC::release(dup); // parent takes over
selection->set(dup);
- sp_selected_path_union(selection, desktop);
+ if (!this->nowidth) {
+ sp_selected_path_union(selection, desktop);
+ }
selection->add(item);
if(item->style->fill_rule.value == SP_WIND_RULE_EVENODD){
SPCSSAttr *css = sp_repr_css_attr_new();