Exporting now sets the IFC file if unset for convenience

This commit is contained in:
Dion Moult
2020-09-15 14:57:38 +10:00
parent 3440dd4bf7
commit d4a629cbe8
@@ -109,6 +109,8 @@ class ExportIFC(bpy.types.Operator):
if not bpy.context.scene.DocProperties.ifc_files:
new = bpy.context.scene.DocProperties.ifc_files.add()
new.name = output_file
if not bpy.context.scene.BIMProperties.ifc_file:
bpy.context.scene.BIMProperties.ifc_file = output_file
return {'FINISHED'}
class ImportIFC(bpy.types.Operator, ImportHelper):