-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: makes bones asset path representation more consistent. (#106)
Previously the normalize method on a bones path would remove the leading `/` to make it support Bevy paths, which can't start with a `/`, but this was not consistent with the way that the handle was serialized. Now, the bones path representations always maintain the leading `/` to indicate a root path, and the leading `/` is removed when converting to a Bevy handle. This fixes issues run into when trying to read serialized bones handles during map saving in Jumpy.
- Loading branch information
Showing
2 changed files
with
24 additions
and
19 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
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