summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-offset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-offset.cpp')
-rw-r--r--src/live_effects/lpe-offset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-offset.cpp b/src/live_effects/lpe-offset.cpp
index aa72ef195..6fa9e095b 100644
--- a/src/live_effects/lpe-offset.cpp
+++ b/src/live_effects/lpe-offset.cpp
@@ -311,7 +311,7 @@ LPEOffset::doEffect_path(Geom::PathVector const & path_in)
}
}
Geom::PathIntersectionGraph *pig_b = new Geom::PathIntersectionGraph(ret, re_painter);
- if (pig && !ret.empty() && !re_painter.empty()) {
+ if (pig_b && !ret.empty() && !re_painter.empty()) {
ret = pig_b->getUnion();
}
return ret;