diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-03-08 23:50:57 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-03-26 17:48:34 +0000 |
| commit | 6e5d89bf9595648fcebcf76fd031ba1ea022d397 (patch) | |
| tree | a7eb90d21021e843a63c286427a533a4402877d7 /src/object/sp-object.cpp | |
| parent | Fix maren problem in https://gitlab.com/inkscape/inkscape/merge_requests/212#... (diff) | |
| download | inkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.tar.gz inkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.zip | |
Fixing refs
Diffstat (limited to 'src/object/sp-object.cpp')
| -rw-r--r-- | src/object/sp-object.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp index d3c429c2a..112a08fb9 100644 --- a/src/object/sp-object.cpp +++ b/src/object/sp-object.cpp @@ -17,6 +17,7 @@ #include <cstring> #include <string> + #include <boost/range/adaptor/transformed.hpp> #include "helper/sp-marshal.h" @@ -27,6 +28,7 @@ #include "document.h" #include "preferences.h" #include "style.h" +#include "live_effects/lpeobject.h" #include "sp-factory.h" #include "sp-paint-server.h" #include "sp-root.h" @@ -454,6 +456,8 @@ void SPObject::requestOrphanCollection() { // leave it } else if (IS_COLORPROFILE(this)) { // leave it + } else if (IS_LIVEPATHEFFECT(this)) { + document->queueForOrphanCollection(this); } else { document->queueForOrphanCollection(this); @@ -1198,7 +1202,7 @@ void SPObject::requestDisplayUpdate(unsigned int flags) bool already_propagated = (!(this->uflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))); this->uflags |= flags; - + /* If requestModified has already been called on this object or one of its children, then we * don't need to set CHILD_MODIFIED on our ancestors because it's already been done. */ |
