diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-31 10:55:58 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-31 10:55:58 +0000 |
| commit | e5cce85211622554ba6906375251b43967a107ff (patch) | |
| tree | edc577cbe77ff999095ffbf2079086593ed63c8e /src/object/sp-flowregion.cpp | |
| parent | Add some tooltips to svg font editor, two need to be fixes. (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
