From 749108f6824507a26d82e2fcf96d62175e2ec7ee Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg <rojtberg@gmail.com> Date: Sat, 27 Apr 2024 23:13:03 +0200 Subject: [PATCH] update Orthographic Projection UI --- ogre_mesh_viewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogre_mesh_viewer.py b/ogre_mesh_viewer.py index 06d2816..397940b 100755 --- a/ogre_mesh_viewer.py +++ b/ogre_mesh_viewer.py @@ -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):