mirror of
https://github.com/bevyengine/bevy
synced 2024-12-20 18:13:10 +00:00
438217035d
# Objective - Before this fix, the view query in `prepare_mesh2d_view_bind_groups` matched all views – leading to 2D view bind groups being prepared for 3D cameras. ## Solution - Added `With<Camera2d>` to the views query. ## Testing - Verified the examples still work. |
||
---|---|---|
.. | ||
color_material.rs | ||
color_material.wgsl | ||
material.rs | ||
mesh.rs | ||
mesh2d.wgsl | ||
mesh2d_bindings.wgsl | ||
mesh2d_functions.wgsl | ||
mesh2d_types.wgsl | ||
mesh2d_vertex_output.wgsl | ||
mesh2d_view_bindings.wgsl | ||
mesh2d_view_types.wgsl | ||
mod.rs | ||
wireframe2d.rs | ||
wireframe2d.wgsl |