diff options
Diffstat (limited to 'src/object/uri-references.cpp')
| -rw-r--r-- | src/object/uri-references.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp index 7d6abd10a..faa3d38d9 100644 --- a/src/object/uri-references.cpp +++ b/src/object/uri-references.cpp @@ -17,7 +17,7 @@ #include <cstring> #include <glibmm/miscutils.h> - +#include "live_effects/lpeobject.h" #include "bad-uri-exception.h" #include "document.h" #include "sp-object.h" @@ -69,7 +69,8 @@ bool URIReference::_acceptObject(SPObject *obj) const // we go back following hrefList and parent to find if the object already references ourselves indirectly std::set<SPObject *> done; SPObject *owner = getOwner(); - if (!owner) + //allow LPE as owner has any URI atached + if (!owner || IS_LIVEPATHEFFECT(owner)) return true; while (owner->cloned) { |
