bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.46k stars 3.6k forks source link

Make render world sync marker components `Copy` #16461

Closed rparrett closed 6 days ago

rparrett commented 1 week ago

Objective

Original motivation was a bundle I am migrating that is Copy which needs to be synced to the render world. It probably doesn't actually need to be Copy, so this isn't critical or anything.

I am continuing to use this bundle while bundles still exist to give users an easier migration path.

Solution

These ZSTs might as well be Copy. Add Copy derives.