Skip to content

Commit

Permalink
correctly set return code on error
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Feb 25, 2024
1 parent d6f4953 commit 0671dc4
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 @@ -650,6 +650,6 @@ def shutdown(self):
app.getRoot().startRendering()
app.closeApp()
except RuntimeError as e:
Ogre.LogManager.getSingleton().logMessage(str(e))
raise SystemExit(e)

if not app.restart: break

0 comments on commit 0671dc4

Please sign in to comment.