mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Bonsai - handle invalid authorization None value in the header #5834
This commit is contained in:
@@ -593,7 +593,7 @@ class EnableEditingHeader(bpy.types.Operator):
|
||||
if len(organisation) > 1:
|
||||
props.organisation_email = organisation[1]
|
||||
|
||||
props.authorisation = self.file.wrapped_data.header.file_name.authorization
|
||||
props.authorisation = self.file.wrapped_data.header.file_name.authorization or ""
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user