diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-06-07 05:35:55 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-06-08 06:34:42 +0000 |
| commit | 24f92334a3c65f4a42c5a220ac9bc10be3bb22d9 (patch) | |
| tree | 37d83843559daff93d6e2c2591f739ec6ebfccda /src/object/sp-rect.cpp | |
| parent | Flush crash message to ensure it's actually printed and update link (diff) | |
| download | inkscape-24f92334a3c65f4a42c5a220ac9bc10be3bb22d9.tar.gz inkscape-24f92334a3c65f4a42c5a220ac9bc10be3bb22d9.zip | |
fix inbox#549 Rectangle missing left side
Reverts one line of 174908a7e0d4
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(); |
