非同期化・unused削除

This commit is contained in:
2026-02-17 00:20:02 +09:00
parent 914667edbf
commit 920695696b
7 changed files with 186 additions and 124 deletions
-2
View File
@@ -29,7 +29,6 @@ class SEQUENCER_OT_clear_mask_cache(Operator):
def execute(self, context):
total_size = 0
cleared_count = 0
if self.all_strips:
# Clear all cache directories
@@ -48,7 +47,6 @@ class SEQUENCER_OT_clear_mask_cache(Operator):
# Delete cache directory
try:
shutil.rmtree(cache_root)
cleared_count = len(os.listdir(cache_root)) if os.path.exists(cache_root) else 0
self.report({'INFO'}, f"Cleared all cache ({self._format_size(total_size)})")
except Exception as e:
self.report({'ERROR'}, f"Failed to clear cache: {e}")