Fix #4821. Bug where empty true norths were still set.

This commit is contained in:
Dion Moult
2024-06-07 16:30:19 +10:00
parent d0058a1bde
commit af5838cba6
@@ -109,7 +109,7 @@ class Usecase:
self.set_true_north()
def set_true_north(self):
if self.settings["true_north"] == None:
if not self.settings["true_north"]:
return
for context in self.file.by_type("IfcGeometricRepresentationContext", include_subtypes=False):
if context.TrueNorth: