This commit is contained in:
Yusarina
2024-12-16 01:40:03 +00:00
parent 2af7a4739a
commit 847bf68f9d
2 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ class AvatarToolkit_OT_CombineMaterials(Operator):
progress.step("Cleaned material slots")
try:
num_removed = clear_unused_data_blocks(self)
num_removed = clear_unused_data_blocks()
except Exception as e:
logger.error(f"Data block cleanup failed: {str(e)}")
self.report({'ERROR'}, t("Optimization.error.data_cleanup"))