mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-23 00:26:08 +00:00
Avoid use of redundant function paramater
This commit is contained in:
parent
e1e7e55e7b
commit
12b01648bd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user