From a2106817f67d9b23adfd66bbcaab9d6d9b8b0c14 Mon Sep 17 00:00:00 2001 From: GigabiteStudios Date: Mon, 14 Jul 2025 00:35:10 -0500 Subject: [PATCH] Improves asset management and scanning Enhances asset manager to improve performance and stability: - Fixes resource scanning by using a snapshot to avoid race conditions. - Adds more logging, especially for asset loading failures and filesystem errors. - Improves performance by counting textures before the scan loop. - Fixes an issue where namespace definitions were not placed on the same line. - Switches case block braces to next line --- .idea/editor.xml | 9 +- src/core/systems/AssetManager.cpp | 176 +++++++++++++++++------------- 2 files changed, 104 insertions(+), 81 deletions(-) diff --git a/.idea/editor.xml b/.idea/editor.xml index 25c6c37..970f097 100644 --- a/.idea/editor.xml +++ b/.idea/editor.xml @@ -255,13 +255,12 @@