mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 05:17:58 +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:
|
if len(organisation) > 1:
|
||||||
props.organisation_email = 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"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user