mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Make IfcBlender compatible with newer blender api revisions
This commit is contained in:
@@ -206,7 +206,7 @@ class ImportIFC(bpy.types.Operator, ImportHelper):
|
||||
|
||||
def execute(self, context):
|
||||
if not import_ifc(self.filepath, self.use_names, self.process_relations):
|
||||
self.report('ERROR',
|
||||
self.report({'ERROR'},
|
||||
'Unable to parse .ifc file or no geometrical entities found'
|
||||
)
|
||||
return {'FINISHED'}
|
||||
|
||||
Reference in New Issue
Block a user