mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Fix error starting import_ifc profiling (in 515bfd1)
This commit is contained in:
@@ -239,7 +239,7 @@ class ProfileImportIFC(bpy.types.Operator):
|
||||
import cProfile
|
||||
import pstats
|
||||
|
||||
profile_file = Path(profile_filename)
|
||||
profile_file = Path(self.profile_filename)
|
||||
cProfile.run("import bpy; bpy.ops.bim.load_project_elements()", str(profile_file))
|
||||
p = pstats.Stats(str(profile_file))
|
||||
p.sort_stats("cumulative").print_stats(50)
|
||||
|
||||
Reference in New Issue
Block a user