bevy/crates/bevy_gizmos/src
Joona Aalto 8cf3447343
Overwrite gizmo group in insert_gizmo_group (#11860)
# Objective

I tried using `insert_gizmo_group` to configure my physics gizmos in a
bevy_xpbd example, but was surprised to see that nothing happened. I
found out that the method does *not* overwrite gizmo groups that have
already been initialized (with `init_gizmo_group`). This is unexpected,
since methods like `insert_resource` *do* overwrite.

## Solution

Insert the configuration even if it has already been initialized.
2024-02-14 16:20:16 +00:00
..
primitives fix(primitives): fix polygon gizmo rendering bug (#11699) 2024-02-05 15:09:49 +00:00
aabb.rs Multiple Configurations for Gizmos (#10342) 2024-01-18 15:52:50 +00:00
arcs.rs Drawing Primitives with Gizmos (#11072) 2024-02-02 21:13:03 +00:00
arrows.rs Drawing Primitives with Gizmos (#11072) 2024-02-02 21:13:03 +00:00
circles.rs Drawing Primitives with Gizmos (#11072) 2024-02-02 21:13:03 +00:00
config.rs Use TypeIdMap whenever possible (#11684) 2024-02-03 23:47:04 +00:00
gizmos.rs Enable the unsafe_op_in_unsafe_fn lint (#11591) 2024-01-28 23:18:11 +00:00
lib.rs Overwrite gizmo group in insert_gizmo_group (#11860) 2024-02-14 16:20:16 +00:00
lines.wgsl Fix float precision issue in the gizmo shader (#10408) 2023-11-14 22:36:02 +00:00
pipeline_2d.rs Multiple Configurations for Gizmos (#10342) 2024-01-18 15:52:50 +00:00
pipeline_3d.rs Multiple Configurations for Gizmos (#10342) 2024-01-18 15:52:50 +00:00