Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iter_mut
on Assets: send modified event only when asset is iterated…
… over (#3565) # Objective - `Assets<T>::iter_mut` sends `Modified` event for all assets first, then returns the iterator - This means that events could be sent for assets that would not have been mutated if iteration was stopped before ## Solution - Send `Modified` event when assets are iterated over. Co-authored-by: François <8672791+mockersf@users.noreply.github.com>
- Loading branch information