Fix bad derive allows inserting OutlineBundle as a component.

This commit is contained in:
Robin KAY 2022-08-10 20:11:27 +01:00
parent cb9966da79
commit a66e7f99d3

View File

@ -79,7 +79,7 @@ pub struct Outline {
}
/// A bundle for rendering stenciled outlines around meshes.
#[derive(Bundle, Clone, Component, Default)]
#[derive(Bundle, Clone, Default)]
pub struct OutlineBundle {
pub outline: Outline,
pub stencil: OutlineStencil,