Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix global wireframe behavior not being applied on new meshes (bevyen…
…gine#11792) # Objective - Fixes bevyengine#11782. ## Solution - Remove the run condition for `apply_global_wireframe_material`, since it prevent detecting when meshes are added or the `NoWireframe` marker component is removed from an entity. Alternatively this could be done by using a run condition like "added `Handle<Mesh>` or removed `NoWireframe` or `WireframeConfig` changed" but this seems less clear to me than directly letting the queries on `apply_global_wireframe_material` do the filtering.
- Loading branch information