#217: Solved duplicate texture loading issue, #215: Finished Dexie implementation.

This commit is contained in:
2024-11-02 02:20:34 +01:00
parent a3532a5940
commit ed17e7f16e
5 changed files with 163 additions and 83 deletions

View File

@ -38,11 +38,7 @@ loadTexture(scene, {
updatedAt: props.zoneObject.object.updatedAt,
frameWidth: props.zoneObject.object.frameWidth,
frameHeight: props.zoneObject.object.frameHeight
} as AssetDataT)
.then((loaded) => {
isTextureLoaded.value = loaded
})
.catch((error) => {
console.error('Error loading texture:', error)
})
</script>
} as AssetDataT).catch((error) => {
console.error('Error loading texture:', error)
})
</script>