diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-03-01 11:03:12 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-03-01 11:03:12 +0000 |
| commit | fb08e5217a32dbfaf097cb26d67d9d7e0f5b718e (patch) | |
| tree | 2efcfd911f49a7dd8c244c9b1f59ca9f05c256c2 /src/ui/tools/eraser-tool.cpp | |
| parent | update to trunk (diff) | |
| download | inkscape-fb08e5217a32dbfaf097cb26d67d9d7e0f5b718e.tar.gz inkscape-fb08e5217a32dbfaf097cb26d67d9d7e0f5b718e.zip | |
Fix a bug with 0 width shapes
(bzr r14648.1.4)
Diffstat (limited to '')
| -rw-r--r-- | src/ui/tools/eraser-tool.cpp | 4 |
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(); |
