1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 08:53:52 +00:00
openmw/apps/opencs
Bo Svensson c9c8d02332
fixes a crash (#3183)
This PR fixes a crash caused by the improperly ensured lifetime of RigGeometry::mSourceGeometry. mSourceGeometry was not adequate to ensure mSourceGeometry would outlive mGeometry because we extend mGeometrys lifetime beyond this lifetime by passing mGeometry to the draw traversal instead of this.
In addition,

We add important comments.
We detect and prevent generally unsafe operations in high level code.
We add a sprinkling of const to help clarify intentions.
2021-10-23 10:31:46 +02:00
..
model Do not use union to access FIXED_STRING<4> as int 2021-10-17 17:16:21 +02:00
view fixes a crash (#3183) 2021-10-23 10:31:46 +02:00
CMakeLists.txt Toggling table columns visibility 2021-09-22 10:47:08 +02:00
editor.cpp Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
editor.hpp Issue #4202: Open .omwaddon files without needing to open openmw-cs first. 2019-07-02 16:07:38 +00:00
main.cpp Fix string corruption with Qt on linux-systems 2021-01-18 19:21:02 +02:00