From 8c0ce697003c01ce10807adb3a08b5353c19a447 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 30 Sep 2019 14:05:42 +0000 Subject: 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. --- src/live_effects/effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live_effects/effect.cpp') 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; } -- cgit v1.2.3