diff options
| author | Aaron Spike <aaron@ekips.org> | 2006-08-03 19:07:52 +0000 |
|---|---|---|
| committer | acspike <acspike@users.sourceforge.net> | 2006-08-03 19:07:52 +0000 |
| commit | 4bd4da644046a018eded69c05e2d95d4673742c4 (patch) | |
| tree | ab58511560b3fc6d159b7fd62586cc12c99ac3e0 /src/extension/implementation | |
| parent | interruptible redraw (diff) | |
| download | inkscape-4bd4da644046a018eded69c05e2d95d4673742c4.tar.gz inkscape-4bd4da644046a018eded69c05e2d95d4673742c4.zip | |
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.
(bzr r1552)
Diffstat (limited to 'src/extension/implementation')
| -rw-r--r-- | src/extension/implementation/script.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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()); } |
