mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
5ae94750a1
# Objective - adding a new `.register` should not overwrite old type data - separate crates should both be able to register the same type I ran into this while debugging why `register::<Handle<T>>` removed the `ReflectHandle` type data from a prior `register_asset_reflect`. ## Solution - make `register` do nothing if called again for the same type - I also removed some unnecessary duplicate registrations |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |