added cache and indexdb loading for decal

This commit is contained in:
2025-08-26 17:39:45 +05:30
parent d4f12d230f
commit d129a86885
2 changed files with 103 additions and 6 deletions

View File

@@ -164,7 +164,7 @@ function Wall({ wall }: { readonly wall: Wall }) {
const decal: Decal = {
decalUuid: THREE.MathUtils.generateUUID(),
decalName: 'Decal',
decalId: 'Default Decal',
decalId: "68abe2f771863f0888b0d35d",
decalPosition: [0, 0, wall.wallThickness / 2 + 0.001],
decalRotation: 0,
decalOpacity: 1,