From e5cce85211622554ba6906375251b43967a107ff Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Wed, 31 Oct 2018 11:55:58 +0100 Subject: Fix crash with reformatted flowregions --- src/object/sp-flowregion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object') diff --git a/src/object/sp-flowregion.cpp b/src/object/sp-flowregion.cpp index 621eb541e..4ea9759c4 100644 --- a/src/object/sp-flowregion.cpp +++ b/src/object/sp-flowregion.cpp @@ -326,7 +326,7 @@ static void UnionShape(Shape **base_shape, Shape const *add_shape) static void GetDest(SPObject* child,Shape **computed) { - if ( child == nullptr ) return; + if ( child == nullptr || dynamic_cast(child) == nullptr ) return; SPCurve *curve=nullptr; Geom::Affine tr_mat; -- cgit v1.2.3