From 24f92334a3c65f4a42c5a220ac9bc10be3bb22d9 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 7 Jun 2019 07:35:55 +0200 Subject: fix inbox#549 Rectangle missing left side Reverts one line of 174908a7e0d4 --- src/object/sp-rect.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/object/sp-rect.cpp') diff --git a/src/object/sp-rect.cpp b/src/object/sp-rect.cpp index 1ecfab558..0988d22c0 100644 --- a/src/object/sp-rect.cpp +++ b/src/object/sp-rect.cpp @@ -274,6 +274,9 @@ void SPRect::set_shape() { c->lineto(x + w, y + h); c->lineto(x + 0.0, y + h); } + + c->closepath(); + /* Reset the shape's curve to the "original_curve" * This is very important for LPEs to work properly! (the bbox might be recalculated depending on the curve in shape)*/ SPCurve * before = this->getCurveBeforeLPE(); -- cgit v1.2.3