diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-03-28 19:48:22 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-03-28 19:48:22 +0000 |
| commit | 3e43c57c9571cfd07cfc582f4129fbec99e15c12 (patch) | |
| tree | cb93ad69e04880f04e42ece73e2690f5aff2b361 /src/ui/clipboard.cpp | |
| parent | and two more files that were missed in lpe-group commit (diff) | |
| download | inkscape-3e43c57c9571cfd07cfc582f4129fbec99e15c12.tar.gz inkscape-3e43c57c9571cfd07cfc582f4129fbec99e15c12.zip | |
fix lpe-PathPAram when deleting the path that it links to
fix ClipboardManager to construct the svgd from pathvector instead of obtaining the string from PathParam which can be a href instead of svgd
(bzr r5222)
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 842f10d52..4ee838708 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -73,6 +73,7 @@ #include "text-context.h" #include "text-editing.h" #include "tools-switch.h" +#include "live_effects/n-art-bpath-2geom.h" /// @brief Made up mimetype to represent Gdk::Pixbuf clipboard contents #define CLIPBOARD_GDK_PIXBUF_TARGET "image/x-gdk-pixbuf" @@ -223,7 +224,7 @@ void ClipboardManagerImpl::copy() void ClipboardManagerImpl::copyPathParameter(Inkscape::LivePathEffect::PathParam *pp) { if ( pp == NULL ) return; - gchar *svgd = pp->param_writeSVGValue(); + gchar *svgd = SVGD_from_2GeomPath( pp->get_pathvector() ); if ( svgd == NULL || *svgd == '\0' ) return; _discardInternalClipboard(); |
