mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-18 22:26:09 +00:00
Fix Clippy warning
This commit is contained in:
parent
5ad27562ba
commit
d7b805bdbf
@ -1,5 +1,4 @@
|
||||
use fj_interop::model::Model;
|
||||
use fj_math::Aabb;
|
||||
use tracing::warn;
|
||||
|
||||
use crate::{
|
||||
@ -93,7 +92,7 @@ impl Viewer {
|
||||
.model
|
||||
.as_ref()
|
||||
.map(|shape| shape.aabb)
|
||||
.unwrap_or_else(Aabb::default);
|
||||
.unwrap_or_default();
|
||||
|
||||
self.camera.update_planes(&aabb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user