diff --git a/pathtracer/src/render/scene.rs b/pathtracer/src/render/scene.rs index e543389..678a5b9 100644 --- a/pathtracer/src/render/scene.rs +++ b/pathtracer/src/render/scene.rs @@ -299,6 +299,7 @@ impl Scene { } #[derive(Debug, PartialEq, Deserialize)] +#[serde(deny_unknown_fields)] struct SerializedScene { camera: Camera, #[serde(default)]