We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9619543 commit e39cbc6Copy full SHA for e39cbc6
src/ifcgeom/IfcGeomFunctions.cpp
@@ -126,7 +126,9 @@ bool IfcGeom::is_compound(const TopoDS_Shape& shape) {
126
127
const TopoDS_Shape& IfcGeom::ensure_fit_for_subtraction(const TopoDS_Shape& shape, TopoDS_Shape& solid) {
128
const bool is_comp = IfcGeom::is_compound(shape);
129
- if ( ! is_comp ) return shape;
+ if (!is_comp) {
130
+ return solid = shape;
131
+ }
132
IfcGeom::create_solid_from_compound(shape, solid);
133
134
// If the SEW_SHELLS option had been set this precision had been applied
0 commit comments