Commit ec072d8
authored
reflect rendertarget (#22113)
RenderTarget was a Component that derived Reflect but did not Reflect
Component
as of this merge today:
67633b3
Without this fix, spawning a scene with a camera (such as from a Blender
export) causes a panic:
> scene contains the unregistered component
`bevy_camera::camera::RenderTarget`. consider adding
`#[reflect(Component)]` to your type1 parent c18838f commit ec072d8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
| 814 | + | |
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| |||
0 commit comments