mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +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 |