bevy/crates/bevy_core/src
Jakob Hellermann 5ae94750a1 make register on TypeRegistry idempotent (#6487)
# 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
2022-11-05 16:43:15 +00:00
..
lib.rs make register on TypeRegistry idempotent (#6487) 2022-11-05 16:43:15 +00:00
name.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00
serde.rs Add serialize feature to bevy_core (#6423) 2022-10-31 21:20:57 +00:00
task_pool_options.rs Use plugin setup for resource only used at setup time (#6360) 2022-10-25 22:19:34 +00:00