File tree 1 file changed +1
-7
lines changed 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ use crate::{render::SHAPE_PIPELINE_HANDLE, utils::TessellationMode};
4
4
use bevy:: {
5
5
asset:: Handle ,
6
6
ecs:: bundle:: Bundle ,
7
- math:: Vec2 ,
8
7
reflect:: TypeUuid ,
9
8
render:: {
10
9
color:: Color ,
@@ -14,7 +13,7 @@ use bevy::{
14
13
render_graph:: base:: MainPass ,
15
14
renderer:: RenderResources ,
16
15
} ,
17
- sprite:: { Sprite , QUAD_HANDLE } ,
16
+ sprite:: QUAD_HANDLE ,
18
17
transform:: components:: { GlobalTransform , Transform } ,
19
18
} ;
20
19
use lyon_tessellation:: { path:: Path , FillOptions } ;
@@ -25,7 +24,6 @@ use lyon_tessellation::{path::Path, FillOptions};
25
24
pub struct ShapeBundle {
26
25
pub path : Path ,
27
26
pub mode : TessellationMode ,
28
- pub sprite : Sprite ,
29
27
pub mesh : Handle < Mesh > ,
30
28
pub material : Handle < ShapeMaterial > ,
31
29
pub main_pass : MainPass ,
@@ -51,10 +49,6 @@ impl Default for ShapeBundle {
51
49
} ,
52
50
main_pass : MainPass ,
53
51
draw : Draw :: default ( ) ,
54
- sprite : Sprite {
55
- size : Vec2 :: new ( 1.0 , 1.0 ) ,
56
- ..Sprite :: default ( )
57
- } ,
58
52
material : Handle :: < ShapeMaterial > :: default ( ) ,
59
53
transform : Transform :: default ( ) ,
60
54
global_transform : GlobalTransform :: default ( ) ,
You can’t perform that action at this time.
0 commit comments