File mask_bbox.patch of Package hugin
--- a/src/hugin_base/panodata/Mask.cpp Wed Jun 27 17:36:22 2018 +0200 +++ b/src/hugin_base/panodata/Mask.cpp Sat Jun 30 00:26:40 2018 +0200 @@ -616,6 +618,7 @@ }; }; }; + calcBoundingBox(); return m_polygon.size()>2; };