summaryrefslogtreecommitdiffstats
path: root/src/object/sp-flowregion.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-10-31 10:55:58 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-10-31 10:55:58 +0000
commite5cce85211622554ba6906375251b43967a107ff (patch)
treeedc577cbe77ff999095ffbf2079086593ed63c8e /src/object/sp-flowregion.cpp
parentAdd some tooltips to svg font editor, two need to be fixes. (diff)
downloadinkscape-e5cce85211622554ba6906375251b43967a107ff.tar.gz
inkscape-e5cce85211622554ba6906375251b43967a107ff.zip
Fix crash with reformatted flowregions
Diffstat (limited to 'src/object/sp-flowregion.cpp')
-rw-r--r--src/object/sp-flowregion.cpp2
1 files changed, 1 insertions, 1 deletions
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<SPItem *>(child) == nullptr ) return;
SPCurve *curve=nullptr;
Geom::Affine tr_mat;