@@ -30,7 +30,6 @@ pub mod config;
3030pub mod cross;
3131pub mod curves;
3232pub mod gizmos;
33- #[ cfg( feature = "global_gizmos" ) ]
3433mod global;
3534pub mod grid;
3635pub mod primitives;
@@ -47,15 +46,14 @@ pub mod prelude {
4746 #[ doc( hidden) ]
4847 pub use crate :: aabb:: { AabbGizmoConfigGroup , ShowAabbGizmo } ;
4948
50- #[ cfg( feature = "global_gizmos" ) ]
51- pub use crate :: global:: gizmo;
5249 #[ doc( hidden) ]
5350 pub use crate :: {
5451 config:: {
5552 DefaultGizmoConfigGroup , GizmoConfig , GizmoConfigGroup , GizmoConfigStore ,
5653 GizmoLineConfig , GizmoLineJoint , GizmoLineStyle ,
5754 } ,
5855 gizmos:: Gizmos ,
56+ global:: gizmo,
5957 primitives:: { dim2:: GizmoPrimitive2d , dim3:: GizmoPrimitive3d } ,
6058 retained:: Gizmo ,
6159 AppGizmoBuilder , GizmoAsset ,
@@ -96,10 +94,7 @@ impl Plugin for GizmoPlugin {
9694 // We insert the Resource GizmoConfigStore into the world implicitly here if it does not exist.
9795 . init_gizmo_group :: < DefaultGizmoConfigGroup > ( ) ;
9896
99- app. add_plugins ( aabb:: AabbGizmoPlugin ) ;
100-
101- #[ cfg( feature = "global_gizmos" ) ]
102- app. add_plugins ( global:: GlobalGizmosPlugin ) ;
97+ app. add_plugins ( ( aabb:: AabbGizmoPlugin , global:: GlobalGizmosPlugin ) ) ;
10398
10499 #[ cfg( feature = "bevy_light" ) ]
105100 app. add_plugins ( LightGizmoPlugin ) ;
0 commit comments