diff options
| author | Stephen Silver <sasilver@yahoo.com> | 2008-08-10 14:44:19 +0000 |
|---|---|---|
| committer | sasilver <sasilver@users.sourceforge.net> | 2008-08-10 14:44:19 +0000 |
| commit | 383cbe89bc043b4e20618526e7bbe56cf1964139 (patch) | |
| tree | a6a2e4cf2e21b77c0859b04e41672488538f1580 | |
| parent | gtkmm-ify the 'Stroke style' tab of Fill and Stroke dialog (diff) | |
| download | inkscape-383cbe89bc043b4e20618526e7bbe56cf1964139.tar.gz inkscape-383cbe89bc043b4e20618526e7bbe56cf1964139.zip | |
Fix for ID clash resolution: avoid finding spurious references associated with clones (fixes bug 256498).
(bzr r6603)
| -rw-r--r-- | src/id-clash.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/id-clash.cpp b/src/id-clash.cpp index 5980c9e7b..420b9c3e5 100644 --- a/src/id-clash.cpp +++ b/src/id-clash.cpp @@ -85,7 +85,9 @@ const char* clipboard_properties[] = { static void find_references(SPObject *elem, refmap_type *refmap) { + if (SP_OBJECT_IS_CLONED(elem)) return; Inkscape::XML::Node *repr_elem = SP_OBJECT_REPR(elem); + if (!repr_elem) return; if (repr_elem->type() != Inkscape::XML::ELEMENT_NODE) return; /* check for references in inkscape:clipboard elements */ |
