mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
partial_success_is_success #6589
This commit is contained in:
@@ -226,7 +226,7 @@ ifcopenshell::geometry::kernels::AbstractKernel* ifcopenshell::geometry::kernels
|
|||||||
bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonomy::collection::ptr collection, IfcGeom::ConversionResults& r) {
|
bool ifcopenshell::geometry::kernels::AbstractKernel::convert_impl(const taxonomy::collection::ptr collection, IfcGeom::ConversionResults& r) {
|
||||||
auto s = r.size();
|
auto s = r.size();
|
||||||
for (auto& c : collection->children) {
|
for (auto& c : collection->children) {
|
||||||
if (!partial_success_is_success && !convert(c, r)) {
|
if (!convert(c, r) && !partial_success_is_success) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user