summaryrefslogtreecommitdiffstats
path: root/src/sp-rect.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-12-31 21:32:40 +0000
committerapenner <penner@vaxxine.com>2012-12-31 21:32:40 +0000
commitf4906005cd3aca6893550f1cca8f4dfabce7282a (patch)
tree27f12dc98b08206af4b6eccbaa34f1b174656295 /src/sp-rect.cpp
parentGTK+ 3: explicitly set a background colour for rulers (diff)
downloadinkscape-f4906005cd3aca6893550f1cca8f4dfabce7282a.tar.gz
inkscape-f4906005cd3aca6893550f1cca8f4dfabce7282a.zip
clip path visual bbox refresh, second try (Bug 1005085)
Fixed bugs: - https://launchpad.net/bugs/1005085 (bzr r12005)
Diffstat (limited to 'src/sp-rect.cpp')
-rw-r--r--src/sp-rect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp
index 22a403345..f33d234ee 100644
--- a/src/sp-rect.cpp
+++ b/src/sp-rect.cpp
@@ -207,6 +207,8 @@ sp_rect_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML:
sp_repr_set_svg_double(repr, "x", rect->x.computed);
sp_repr_set_svg_double(repr, "y", rect->y.computed);
+ sp_rect_set_shape ((SPShape *) rect); // evaluate SPCurve
+
if (((SPObjectClass *) parent_class)->write)
((SPObjectClass *) parent_class)->write(object, xml_doc, repr, flags);