Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Update ModelComponent.ts (#8707)
Browse files Browse the repository at this point in the history
  • Loading branch information
speigg authored Sep 9, 2023
1 parent ce82161 commit eb8c13e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/engine/src/scene/components/ModelComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ function ModelReactor() {
totalAmount: onprogress.total
}
})
},
(err) => {
console.error(err)
removeComponent(entity, SceneAssetPendingTagComponent)
}
)
break
Expand Down

0 comments on commit eb8c13e

Please sign in to comment.