Skip to content

Commit

Permalink
add separator to file menu
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Mar 26, 2024
1 parent ecf9d33 commit 8b5dad2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ogre_mesh_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,11 @@ def preRenderTargetUpdate(self, evt):
if app.infile:
app.restart = True
app.getRoot().queueEndRendering()
if ImGui.MenuItem("Renderer Settings"):
self.show_render_settings = True
if ImGui.MenuItem("Save Screenshot", "P"):
self.app._save_screenshot()
ImGui.Separator()
if ImGui.MenuItem("Renderer Settings"):
self.show_render_settings = True
if ImGui.MenuItem("Quit", "Esc"):
self.app.getRoot().queueEndRendering()
ImGui.EndMenu()
Expand Down

0 comments on commit 8b5dad2

Please sign in to comment.