File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,13 @@ use bevy_transform::TransformPoint;
1414type PositionItem = [ f32 ; 3 ] ;
1515type ColorItem = [ f32 ; 4 ] ;
1616
17+ /// Storage of gizmo primitives.
1718#[ derive( Resource , Default ) ]
1819pub struct GizmoStorage < Context > {
19- pub list_positions : Vec < PositionItem > ,
20- pub list_colors : Vec < ColorItem > ,
21- pub strip_positions : Vec < PositionItem > ,
22- pub strip_colors : Vec < ColorItem > ,
20+ pub ( crate ) list_positions : Vec < PositionItem > ,
21+ pub ( crate ) list_colors : Vec < ColorItem > ,
22+ pub ( crate ) strip_positions : Vec < PositionItem > ,
23+ pub ( crate ) strip_colors : Vec < ColorItem > ,
2324 _phantom : PhantomData < Context > ,
2425}
2526
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ impl Plugin for GizmoPlugin {
106106 . add_systems (
107107 FixedUpdate ,
108108 ( clear_gizmo_context :: < Update > , clear_gizmo_context :: < Fixed > ) ,
109- ) // clear the default gizmo while inside FixedUpdate.
109+ )
110110 . add_systems (
111111 PostUpdate ,
112112 (
You can’t perform that action at this time.
0 commit comments