From: acspike Date: Thu, 3 Aug 2006 19:07:52 +0000 (+0000) Subject: remove restriction from copying defs from effected document X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=670b9458220b7941edd6749edf1c583613c1a606;p=inkscape.git remove restriction from copying defs from effected document there currently remains a restriction on copying the sodipodi:namedview. This should enable the Markers to stroke paint script. --- diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 9892e897f..5975d6d24 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -818,8 +818,6 @@ Script::copy_doc (Inkscape::XML::Node * oldroot, Inkscape::XML::Node * newroot) child = child->next()) { if (!strcmp("sodipodi:namedview", child->name())) continue; - if (!strcmp("svg:defs", child->name())) - continue; delete_list.push_back(child); } for (unsigned int i = 0; i < delete_list.size(); i++) @@ -830,8 +828,6 @@ Script::copy_doc (Inkscape::XML::Node * oldroot, Inkscape::XML::Node * newroot) child = child->next()) { if (!strcmp("sodipodi:namedview", child->name())) continue; - if (!strcmp("svg:defs", child->name())) - continue; oldroot->appendChild(child->duplicate()); }