kicad/3d-viewer
Wayne Stambaugh 66f6168163 Fix mode-less dialog issues.
Don't assume the dialog is mode-less and call Destroy() from within a
dialog method.  This will most assuredly crash if the dialog is shown
modally or quasi-modally.

Don't leak memory for mode-less dialogs created on the stack.  Make sure
when the parent frame window is closed that all mode-less dialog memory
is cleaned up.  Dialogs are not child windows like controls and toolbars
so their memory does not automatically get cleaned up when the parent
window is destroyed.

Do not directly access frame parent window's pointer in dialog destructors.
Apparently the tear down order when destroying mode-less dialogs is not
guaranteed so the parent window may get deleted before the dialog causing
a crash when accessing the parent window pointer from the dialog dtor.

Do not close mode-less dialogs in the parent frame's destructor.  This
doesn't guarantee that the dialog(s) will be destroyed before the parent
but it may reduce some careless mode-less dialog event handling in the
future.
2023-03-13 12:04:01 -04:00
..
3d_cache Modernize setting link map linker flags 2023-02-22 01:44:06 +00:00
3d_canvas 3dviewer: Show footprint board regardless of proj 2023-03-10 15:18:45 -08:00
3d_model_viewer 3D-Viewer: sort models and material models when rendering in transparent 2023-03-02 22:29:08 +00:00
3d_navlib Use an independent pivot representation for the 3dmouse in the 3dviewer. 2022-08-19 23:08:03 +00:00
3d_rendering Remove uses of climits header/defines 2023-03-10 17:08:56 +00:00
3d_viewer Fix some typos 2023-02-14 23:47:05 +02:00
common_ogl Use enums for 3d Viewer settings instead of ints 2021-12-30 23:03:13 +00:00
dialogs Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
3d_enums.h Use enums for 3d Viewer settings instead of ints 2021-12-30 23:03:13 +00:00
3d_fastmath.cpp 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
3d_fastmath.h Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
3d_math.cpp Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
3d_math.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
3d_viewer_id.h Pull 3D preferences into KiCad preferences architecture. 2021-06-11 11:19:40 +01:00
CMakeLists.txt CMake: Modernize Boost import to use imported targets 2023-03-10 16:38:35 +00:00
credits.txt Fix various typos 2022-07-21 16:31:41 +00:00