diff options
| author | Alvin Penner <penner@vaxxine.com> | 2014-07-10 19:13:09 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2014-07-10 19:13:09 +0000 |
| commit | 94b74cf00f2d605cb8268d9fe05d0bad78077f1c (patch) | |
| tree | 673c6c915205fec897b30fcea4a63226cc562bd6 /src/sp-use.cpp | |
| parent | Bugged powerstroke point array tried accessing points on a quickly diverging ... (diff) | |
| download | inkscape-94b74cf00f2d605cb8268d9fe05d0bad78077f1c.tar.gz inkscape-94b74cf00f2d605cb8268d9fe05d0bad78077f1c.zip | |
refresh SPCurve in a cloned clip (Bug 1322940)
Fixed bugs:
- https://launchpad.net/bugs/1322940
(bzr r13448)
Diffstat (limited to 'src/sp-use.cpp')
| -rw-r--r-- | src/sp-use.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp index e8fe3687f..7d908a66a 100644 --- a/src/sp-use.cpp +++ b/src/sp-use.cpp @@ -37,6 +37,7 @@ #include "sp-symbol.h" #include "sp-use.h" #include "sp-use-reference.h" +#include "sp-shape.h" namespace { SPObject* createUse() { @@ -176,6 +177,8 @@ Inkscape::XML::Node* SPUse::write(Inkscape::XML::Document *xml_doc, Inkscape::XM g_free(uri_string); } + if (SP_IS_SHAPE(this->child)) + SP_SHAPE(this->child)->set_shape(); // evaluate SPCurve of child return repr; } |
