mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-01 21:48:16 +00:00
Update name of variable
This commit is contained in:
parent
b93a745515
commit
cb06358da6
@ -59,13 +59,13 @@ struct DisplayState {
|
||||
|
||||
impl ApplicationHandler for DisplayState {
|
||||
fn resumed(&mut self, event_loop: &ActiveEventLoop) {
|
||||
let viewer = self.window.get_or_insert_with(|| {
|
||||
let window = self.window.get_or_insert_with(|| {
|
||||
let window = Window::new(event_loop).unwrap();
|
||||
block_on(ViewerWindow::new(window)).unwrap()
|
||||
});
|
||||
|
||||
if let Some(mesh) = self.tri_mesh.take() {
|
||||
viewer.handle_model_update(mesh);
|
||||
window.handle_model_update(mesh);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user