diff --git a/experiments/2024-10-30/src/render/renderer.rs b/experiments/2024-10-30/src/render/renderer.rs index 828f5844e..8820a1fc8 100644 --- a/experiments/2024-10-30/src/render/renderer.rs +++ b/experiments/2024-10-30/src/render/renderer.rs @@ -89,9 +89,13 @@ impl Renderer { pub fn render( &mut self, - selected_operation: &dyn Operation, + _: &dyn Operation, all_operations: &OpsLog, ) -> anyhow::Result<()> { + let Some(selected_operation) = all_operations.selected() else { + return Ok(()); + }; + let vertices = Geometry::vertices(&self.device, selected_operation); let triangles = Geometry::triangles(&self.device, selected_operation);