mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix errors removing layers/constituents after eeac0a2
This commit is contained in:
@@ -57,4 +57,4 @@ def remove_layer(
|
||||
material = layer.Material
|
||||
file.remove(layer)
|
||||
if material and should_remove_material:
|
||||
ifcopenshell.util.element.remove_deep2(file, subelement)
|
||||
ifcopenshell.util.element.remove_deep2(file, material)
|
||||
|
||||
Reference in New Issue
Block a user