summaryrefslogtreecommitdiffstats
path: root/src/object/sp-flowregion.cpp
diff options
context:
space:
mode:
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;