From 4dcd20a0c75384a896b38925a5f7f52216c798a3 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 20 Aug 2020 16:12:26 +0200 Subject: [PATCH] initialize bounding box --- libsrc/geom2d/csg2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/geom2d/csg2d.cpp b/libsrc/geom2d/csg2d.cpp index e75710d3..b495d902 100644 --- a/libsrc/geom2d/csg2d.cpp +++ b/libsrc/geom2d/csg2d.cpp @@ -1417,7 +1417,7 @@ shared_ptr CSG2d :: GenerateSplineGeometry() // Add geometry points to SplineGeometry - netgen::Box<2> box; + netgen::Box<2> box(netgen::Box<2>::EMPTY_BOX); for(auto & s : solids) for(auto & poly : s.polys) for(auto v : poly.Vertices(ALL))