Skip to content

Commit

Permalink
update Orthographic Projection UI
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Apr 27, 2024
1 parent 76ebe7c commit 749108f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogre_mesh_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def preRenderTargetUpdate(self, evt):
self.app.fixed_yaw_axis = 2
self.app.update_fixed_camera_yaw()
ImGui.EndMenu()
if ImGui.MenuItem("Switch Camera Projection", "KP5"):
if ImGui.MenuItem("Orthographic Projection", "KP5", self.app.cam.getProjectionType() == Ogre.PT_ORTHOGRAPHIC):
self.app._toggle_projection()
ImGui.Separator()
if ImGui.MenuItem("Show Axes", "A", self.app.axes_visible):
Expand Down

0 comments on commit 749108f

Please sign in to comment.