SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Add merge_all_mesh_3d to world_asset_helpers (#23710)

# Objective

- bevy_city needed a way to merge all the `Mesh3d` from a `WorldAsset`.
Instead of keeping that function hidden inside bevy_city we can make it
public

## Solution

- Add `world_asset_helpers` to `bevy_dev_tools`. It's in
`bevy_dev_tools` because it depends on multiple different parts of bevy
and that's the only crate that users can use that already depends on a
lot of things.
- Add `marge_all_mesh_3d()` to `world_asset_helpers`
- Update bevy_city to use that helper

## Testing

- I ran bevy_city and the meshes were merged like they should

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
I
IceSentry committed
654bcde0ed3610efaeb162241bba2f22652713c6
Parent: 1e2aa7c
Committed by GitHub <noreply@github.com> on 5/22/2026, 3:03:18 PM