From 4e2881efa1eaf9f0356cb5f8d98a80b786a0f6a7 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:59:29 +1000 Subject: ser deser light --- bindgen/rust/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindgen/rust/src/lib.rs') diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs index 4963d8c..49d0391 100644 --- a/bindgen/rust/src/lib.rs +++ b/bindgen/rust/src/lib.rs @@ -56,7 +56,7 @@ impl SerializableScene { } } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Serialize, Deserialize)] pub enum Light { Point(ffi::PointLight), Directional(ffi::DirectionalLight), -- cgit v1.2.3-70-g09d2