mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Texture support is now compatible with glTF texture maps
This commit is contained in:
@@ -39,7 +39,7 @@ class Usecase:
|
||||
select_class = "IfcSurfaceStyleShading"
|
||||
duplicate_items = [s for s in styles if s.is_a(select_class)]
|
||||
for duplicate_item in duplicate_items:
|
||||
self.file.remove(duplicate_item)
|
||||
ifcopenshell.api.run("style.remove_surface_style", self.file, style=duplicate_item)
|
||||
|
||||
styles = list(self.settings["style"].Styles or [])
|
||||
styles.append(style_item)
|
||||
|
||||
Reference in New Issue
Block a user