summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-21 12:24:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commita215c7b8f8098227156135c59dd3dd4531e822ed (patch)
tree54ee0fd43472e1245fa7aee5491c890469c24f2b /src/object
parentNoumerous bugfixes pointed by Lazur on IRC (diff)
downloadinkscape-a215c7b8f8098227156135c59dd3dd4531e822ed.tar.gz
inkscape-a215c7b8f8098227156135c59dd3dd4531e822ed.zip
Fix some crashes grouping
Diffstat (limited to 'src/object')
-rw-r--r--src/object/uri-references.cpp5
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) {