-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(loader): Write to the correct file handlers on save
Saving a ModelFile used to write back into the same FileHandler that it was loaded from. This caused inconsistencies and unexpected behavior when trying to change the save location at runtime by modifying `loader.resources`. Now, ModelFiles always use the expected FileHandler.
- Loading branch information
1 parent
003c9cf
commit 954aef1
Showing
1 changed file
with
14 additions
and
18 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