mirror of
https://github.com/hannobraun/Fornjot
synced 2025-06-18 01:08:58 +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_interop::model::Model;
|
||||||
use fj_math::Aabb;
|
|
||||||
use tracing::warn;
|
use tracing::warn;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@ -93,7 +92,7 @@ impl Viewer {
|
|||||||
.model
|
.model
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|shape| shape.aabb)
|
.map(|shape| shape.aabb)
|
||||||
.unwrap_or_else(Aabb::default);
|
.unwrap_or_default();
|
||||||
|
|
||||||
self.camera.update_planes(&aabb);
|
self.camera.update_planes(&aabb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user