DarkRadiant: master 715b6180

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 08.12.2023 13:26 master c1534a5f
Affected Issues  0006351: Crash on activating lighting mode in the Model Chooser
Changeset 0006351: use abort() for unexpected exception on Linux

For a reason which is unclear but probably has something to do with
wxWidgets event handling, the popup-based OnExceptionInMainLoop() is
entering an infinite loop of error popups which cannot be interacted
with or dismissed, which makes debugging impossible on Linux.

Instead we just dump the error message to std::cerr and then abort(),
which creates a console message and then terminates the program. This
code is protected by an __linux__ #ifdef to avoid changing the behaviour
on Windows.
mod - radiant/RadiantApp.cpp Diff File
mod - radiant/RadiantApp.h Diff File