Skip to content

Commit

Permalink
missed in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
aclegg3 committed Feb 28, 2024
1 parent cf0c07a commit 6208520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ def mouse_press_event(self, event: Application.MouseEvent) -> None:
self.selected_rec = None
hit_id = self.mouse_cast_results.hits[0].object_id
# right click in look mode to print object information
if hit_id == -1:
if hit_id == habitat_sim.stage_id:
print("This is the stage.")
else:
obj = sutils.get_obj_from_id(self.sim, hit_id)
Expand Down

0 comments on commit 6208520

Please sign in to comment.