Skip to content

Commit

Permalink
Don't early-exit on non-pinhole transforms when looking up cameras (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs authored May 24, 2023
1 parent 1ca81d7 commit 868ba47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl ScenePart for CamerasPart {

if let Some(transform) = store.query_latest_component::<Transform>(ent_path, &query) {
let Transform::Pinhole(pinhole) = transform else {
return;
continue;
};
let entity_highlight = highlights.entity_outline_mask(ent_path.hash());

Expand Down

0 comments on commit 868ba47

Please sign in to comment.