mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +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):
|
def execute(self, context):
|
||||||
if not import_ifc(self.filepath, self.use_names, self.process_relations):
|
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'
|
'Unable to parse .ifc file or no geometrical entities found'
|
||||||
)
|
)
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|||||||
Reference in New Issue
Block a user