mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
fail on empty poly
This commit is contained in:
@@ -759,6 +759,9 @@ bool CgalKernel::convert_impl(const taxonomy::shell *shell, ifcopenshell::geomet
|
||||
if (!convert(shell, shape)) {
|
||||
return false;
|
||||
}
|
||||
if (shape.size_of_facets() == 0) {
|
||||
return false;
|
||||
}
|
||||
results.emplace_back(ConversionResult(
|
||||
shell->instance->data().id(),
|
||||
shell->matrix,
|
||||
|
||||
Reference in New Issue
Block a user