From 3e43c57c9571cfd07cfc582f4129fbec99e15c12 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 28 Mar 2008 19:48:22 +0000 Subject: 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) --- src/ui/clipboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui') 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(); -- cgit v1.2.3