-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
component storage issue diagnosed and fixed
it was because in the handling of removing components, we would swap components within the storage. then we would update the entity's componentid list so that the removed component ref would be removed, and that the component ref pointing to the item that was swapped be updated to point at the new correct index within storage. this part was fine, but when updating the component id refs, we forgot to check that the componentid component storage type (base, updatable, renderable) when finding the componentid pointing to the moved component in storage.
- Loading branch information
Showing
1 changed file
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters