Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 25, 2024
1 parent 1354bd2 commit 3755de5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions crates/re_space_view_spatial/src/visualizers/assets3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ impl VisualizerSystem for Asset3DVisualizer {
let resolver = ctx.recording().resolver();

let blobs = match results.get_dense::<Blob>(resolver) {
Some(Ok(blobs)) => blobs,
Some(err @ Err(_)) => err?,
Some(blobs) => blobs?,
_ => return Ok(()),
};

Expand Down
3 changes: 1 addition & 2 deletions crates/re_space_view_spatial/src/visualizers/images.rs
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,7 @@ impl ImageVisualizer {
let resolver = ctx.recording().resolver();

let tensors = match results.get_dense::<TensorData>(resolver) {
Some(Ok(tensors)) => tensors,
Some(err @ Err(_)) => err?,
Some(tensors) => tensors?,
_ => return Ok(()),
};

Expand Down
3 changes: 1 addition & 2 deletions crates/re_space_view_spatial/src/visualizers/meshes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ impl VisualizerSystem for Mesh3DVisualizer {
let resolver = ctx.recording().resolver();

let vertex_positions = match results.get_dense::<Position3D>(resolver) {
Some(Ok(positions)) => positions,
Some(err @ Err(_)) => err?,
Some(positions) => positions?,
_ => return Ok(()),
};

Expand Down

0 comments on commit 3755de5

Please sign in to comment.