diff options
| author | Alvin Penner <penner@vaxxine.com> | 2014-07-25 21:23:13 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2014-07-25 21:23:13 +0000 |
| commit | 962b4e5a31b1128cdb9dfcccac87e7449a3351f1 (patch) | |
| tree | 74f1ca1973f86665a686fa97a2933a2ec88e126d /src/sp-flowregion.cpp | |
| parent | sync with libTere version of text_reassemble.c (diff) | |
| download | inkscape-962b4e5a31b1128cdb9dfcccac87e7449a3351f1.tar.gz inkscape-962b4e5a31b1128cdb9dfcccac87e7449a3351f1.zip | |
refresh text objects when clipping (Bug 1339305)
Fixed bugs:
- https://launchpad.net/bugs/1339305
(bzr r13470)
Diffstat (limited to 'src/sp-flowregion.cpp')
| -rw-r--r-- | src/sp-flowregion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-flowregion.cpp b/src/sp-flowregion.cpp index 709e9e464..e8e5c3d95 100644 --- a/src/sp-flowregion.cpp +++ b/src/sp-flowregion.cpp @@ -185,6 +185,8 @@ Inkscape::XML::Node *SPFlowregion::write(Inkscape::XML::Document *xml_doc, Inksc SPItem::write(xml_doc, repr, flags); + this->UpdateComputed(); // copied from update(), see LP Bug 1339305 + return repr; } @@ -372,6 +374,8 @@ static void GetDest(SPObject* child,Shape **computed) tr_mat = SP_ITEM(u_child)->transform; } if ( SP_IS_SHAPE (u_child) ) { + if (!(SP_SHAPE(u_child)->_curve)) + SP_SHAPE (u_child)->set_shape (); curve = SP_SHAPE (u_child)->getCurve (); } else if ( SP_IS_TEXT (u_child) ) { curve = SP_TEXT (u_child)->getNormalizedBpath (); |
