Merge branch 'fix_1_solid_in_glue'

This commit is contained in:
Christopher Lackner 2022-09-06 17:50:29 +02:00
commit 412fd372d0

View File

@ -2035,6 +2035,8 @@ tangents : Dict[int, gp_Vec2d]
m.def("Glue", [] (const std::vector<TopoDS_Shape> shapes) -> TopoDS_Shape m.def("Glue", [] (const std::vector<TopoDS_Shape> shapes) -> TopoDS_Shape
{ {
if(shapes.size() == 1)
return shapes[0];
BOPAlgo_Builder builder; BOPAlgo_Builder builder;
for (auto & s : shapes) for (auto & s : shapes)
{ {