summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-11-02 14:49:37 +0000
committerjabiertxof <info@marker.es>2016-11-02 14:49:37 +0000
commit6813c18d7497f999fdf326e2746f8ba7c0c9da99 (patch)
treebe4c13435576c4c4691795283f743004104ff6d2 /src/live_effects
parent[Bug #1574561] Italian translation update. (diff)
downloadinkscape-6813c18d7497f999fdf326e2746f8ba7c0c9da99.tar.gz
inkscape-6813c18d7497f999fdf326e2746f8ba7c0c9da99.zip
Close the bounding box path LPE
(bzr r15197)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-bounding-box.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live_effects/lpe-bounding-box.cpp b/src/live_effects/lpe-bounding-box.cpp
index cfe1f5165..2de768c3a 100644
--- a/src/live_effects/lpe-bounding-box.cpp
+++ b/src/live_effects/lpe-bounding-box.cpp
@@ -41,6 +41,7 @@ void LPEBoundingBox::doEffect (SPCurve * curve)
p.appendNew<Geom::LineSegment>(Geom::Point(bbox->right(), bbox->bottom()));
p.appendNew<Geom::LineSegment>(Geom::Point(bbox->left(), bbox->bottom()));
p.appendNew<Geom::LineSegment>(Geom::Point(bbox->left(), bbox->top()));
+ p.close();
Geom::PathVector out;
out.push_back(p);
curve->set_pathvector(out);