diff options
| author | jabiertxof <jabiertxof@debian.marker.es> | 2015-04-29 15:25:54 +0000 |
|---|---|---|
| committer | jabiertxof <jabiertxof@debian.marker.es> | 2015-04-29 15:25:54 +0000 |
| commit | c9402117b96cbde93c13cc52f1596b723861e8ec (patch) | |
| tree | 440516a93b09d2e976aac098aa72c6aa0a8961ab /src/live_effects/parameter/path.cpp | |
| parent | Increase precision (long thin paths had a ton of width variance), fix logic e... (diff) | |
| download | inkscape-c9402117b96cbde93c13cc52f1596b723861e8ec.tar.gz inkscape-c9402117b96cbde93c13cc52f1596b723861e8ec.zip | |
Fix a bug linking a path parameter to a transformed element
(bzr r14071)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index ba95affd9..32e82ff8c 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -427,7 +427,13 @@ PathParam::paste_param_path(const char *svgd) if (svgd && *svgd) { // remove possible link to path remove_link(); - + SPItem * item = SP_ACTIVE_DESKTOP->getSelection()->singleItem(); + if (item != NULL) { + Geom::PathVector path_clipboard = sp_svg_read_pathv(svgd); + path_clipboard *= item->i2doc_affine().inverse(); + svgd = sp_svg_write_path( path_clipboard ); + } + param_write_to_repr(svgd); signal_path_pasted.emit(); } |
