mirror of
https://github.com/bevyengine/bevy.git
synced 2026-06-30 07:45:50 -04:00
d9d6f52ee2
# Objective The custom render phase for infinite grid did not clear invisible or despawned meshes before rendering, meaning the Visibility component had no effect on the InfiniteGrid component when it was changed. ## Solution Added a removal pass in the infinite_grid render queue. ## Testing 'toggle_visibilty' system added to the infinite_grid example. Co-authored-by: Christopher Hain <8527064+chris-a-h@users.noreply.github.com>