mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Addendum to previous merge
This commit is contained in:
@@ -196,7 +196,7 @@ std::map<std::string, IfcUtil::IfcBaseEntity*> IfcGeom::Kernel::get_layers(IfcUt
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool IfcGeom::Kernel::is_manifold(const TopoDS_Shape& a) {
|
bool IfcGeom::Kernel::is_manifold(const TopoDS_Shape& a) {
|
||||||
if (a.ShapeType() == TopAbs_COMPOUND) {
|
if (a.ShapeType() == TopAbs_COMPOUND || a.ShapeType() == TopAbs_SOLID) {
|
||||||
TopoDS_Iterator it(a);
|
TopoDS_Iterator it(a);
|
||||||
for (; it.More(); it.Next()) {
|
for (; it.More(); it.Next()) {
|
||||||
if (!is_manifold(it.Value())) {
|
if (!is_manifold(it.Value())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user