refactor: update event handling in mechanics components to use socket communication

This commit is contained in:
2025-04-04 17:46:19 +05:30
parent cf6946750b
commit 8dc6b3949f
5 changed files with 47 additions and 25 deletions

View File

@@ -110,7 +110,6 @@ const FloorItemsGroup = ({
}
gltfLoaderWorker.postMessage({ floorItems: data });
} else {
console.log('data: ', data);
gltfLoaderWorker.postMessage({ floorItems: [] });
loadInitialFloorItems(itemsGroup, setFloorItems, setSimulationPaths);
updateLoadingProgress(100);