Commit cffef5b
authored
I noticed that `IsDefaultUiCamera` is not allowed atm inside of the
`bsn!` macro.
```
| |_____^ the trait `Clone` is not implemented for `bevy::prelude::IsDefaultUiCamera`
|
= help: the following other types implement trait `FromTemplate`:
AnimationGraphHandle
Atmosphere
AudioPlayer<Source>
CustomCursor
CustomCursorImage
DirectionalLightTexture
DynamicWorldRoot
EnvironmentMapLight
and 34 others
= note: required for `bevy::prelude::IsDefaultUiCamera` to implement `FromTemplate`
= note: this error originates in the macro `bsn` (in Nightly builds, run with -Z macro-backtrace for more info)
```
This PR adds the `Clone` and `Copy` (it's a unit struct so it shouldn't
hurt) derives to the component.
1 parent 6e93c2e commit cffef5b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2970 | 2970 | | |
2971 | 2971 | | |
2972 | 2972 | | |
2973 | | - | |
| 2973 | + | |
2974 | 2974 | | |
2975 | 2975 | | |
2976 | 2976 | | |
| |||
0 commit comments