diff options
Diffstat (limited to 'src/object/sp-rect.cpp')
| -rw-r--r-- | src/object/sp-rect.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |
