New debug feature to purge HDF5 cache in case the cache is corrupted.

This commit is contained in:
Dion Moult
2022-01-11 11:24:13 +11:00
parent ba675c0d28
commit f08ed629b5
8 changed files with 43 additions and 0 deletions
@@ -328,3 +328,12 @@ class SelectExpressFile(bpy.types.Operator):
def invoke(self, context, event):
context.window_manager.fileselect_add(self)
return {"RUNNING_MODAL"}
class PurgeHdf5Cache(bpy.types.Operator):
bl_idname = "bim.purge_hdf5_cache"
bl_label = "Purge HDF5 Cache"
def execute(self, context):
core.purge_hdf5_cache(tool.Debug)
return {"FINISHED"}