Skip to content

Commit

Permalink
Fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 6, 2023
1 parent 5ad2756 commit d7b805b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/fj-viewer/src/viewer.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use fj_interop::model::Model;
use fj_math::Aabb;
use tracing::warn;

use crate::{
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d7b805b

Please sign in to comment.