summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-09-30 14:05:42 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-30 14:05:42 +0000
commit8c0ce697003c01ce10807adb3a08b5353c19a447 (patch)
tree831c4f953706f1930d6094c50c564e52a2a39d30 /src/live_effects/effect.cpp
parentFix issue 872. LPE on rects is not rendering in browsers (diff)
downloadinkscape-8c0ce697003c01ce10807adb3a08b5353c19a447.tar.gz
inkscape-8c0ce697003c01ce10807adb3a08b5353c19a447.zip
Apply a Nathan Lee fix to all LPE changing from SP_ACTIVE_DOCUMET to LPE->document. It also remove a boring check and allow to preview on file explorer some Items blocked.
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 1dcdfb566..3cc6f247a 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -1177,7 +1177,7 @@ Effect::isNodePointSelected(Geom::Point const &nodePoint) const
void
Effect::processObjects(LPEAction lpe_action)
{
- SPDocument * document = SP_ACTIVE_DOCUMENT;
+ SPDocument *document = getSPDoc();
if (!document) {
return;
}