mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Fix bug where the covetool module didn't detect skylights properly. See #967.
This commit is contained in:
@@ -197,5 +197,4 @@ class RunAnalysis(bpy.types.Operator):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def is_window_skylight(self, element):
|
def is_window_skylight(self, element):
|
||||||
predefined_type = element.get_info().get("PredefinedType")
|
return element.get_info().get("PredefinedType") == "SKYLIGHT"
|
||||||
return predefined_type and predefined_type.string_value == "SKYLIGHT"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user