diff options
| author | Thomas Holder <speleo3@users.sourceforge.net> | 2008-12-08 21:54:37 +0000 |
|---|---|---|
| committer | speleo3 <speleo3@users.sourceforge.net> | 2008-12-08 21:54:37 +0000 |
| commit | 8e49988bb83bac954fad4e8648acf2e3d65f96ff (patch) | |
| tree | 33d0a04a1de69f23c4228fedaf0734709be8550e /src/connector-context.cpp | |
| parent | "make check" now compiles and runs on Linux. (diff) | |
| download | inkscape-8e49988bb83bac954fad4e8648acf2e3d65f96ff.tar.gz inkscape-8e49988bb83bac954fad4e8648acf2e3d65f96ff.zip | |
Make all tools consider full parent transform (up to document, not just up to root)
See http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo
(bzr r6974)
Diffstat (limited to 'src/connector-context.cpp')
| -rw-r--r-- | src/connector-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connector-context.cpp b/src/connector-context.cpp index 8260456d4..372918b80 100644 --- a/src/connector-context.cpp +++ b/src/connector-context.cpp @@ -909,7 +909,7 @@ spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) } /* Now we have to go back to item coordinates at last */ - c->transform(sp_desktop_dt2root_affine(SP_EVENT_CONTEXT_DESKTOP(cc))); + c->transform(sp_desktop_dt2doc_affine(SP_EVENT_CONTEXT_DESKTOP(cc))); SPDesktop *desktop = SP_EVENT_CONTEXT_DESKTOP(cc); SPDocument *doc = sp_desktop_document(desktop); @@ -931,7 +931,7 @@ spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) cc->newconn = SP_ITEM(desktop->currentLayer()->appendChildRepr(repr)); cc->selection->set(repr); Inkscape::GC::release(repr); - cc->newconn->transform = i2i_affine(desktop->currentRoot(), desktop->currentLayer()); + cc->newconn->transform = sp_item_i2doc_affine(SP_ITEM(desktop->currentLayer())).inverse(); cc->newconn->updateRepr(); bool connection = false; |
