mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
fd96e6a4d2
When a `+`-separated filter group returns no results, `FacetTransformer.facet_list` was skipping the reset of `has_additive_facet_in_current_list` because the reset was inside the `if self.elements:` guard. The stale flag caused the next group's `add_default_elements()` to bail out early, leaving its element set empty and silently dropping every subsequent group from the result. Move the flag reset outside the guard so it always fires regardless of whether the group produced any results.
ifcopenshell-python
Python bindings, utility functions, and high-level API for IfcOpenShell.