1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 08:15:35 +00:00
openmw/components
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
..
bsa cleans up BSAFile (#3177) 2021-10-14 14:46:44 +02:00
bullethelpers Merge branch 'physics_heightfield' into 'master' 2021-10-12 07:58:34 +00:00
compiler Parse local variables sharing a name with a function as variables 2021-10-06 21:27:08 +02:00
config change setValue to replace value instead of insert 2021-07-05 13:22:46 +00:00
contentselector Allow creating omwaddons without a dependency on an omwgame 2021-09-26 17:44:28 +02:00
crashcatcher Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
debug Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
detournavigator Fix crash in DetourNavigator::fixupCorridor 2021-10-19 22:54:46 +02:00
esm Add ESM data loader 2021-10-17 19:55:29 +02:00
esmloader Merge branch 'fix_windows_tests' into 'master' 2021-10-22 12:35:10 +00:00
esmterrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fallback Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
files Add tests for openmw options 2021-10-05 22:51:12 +02:00
fontloader Move getFileExtension to common header and use instead of repeating same code 2021-09-14 18:09:55 +02:00
interpreter Remove duplicate GetSquareRoot implementation 2021-09-19 19:53:38 +02:00
loadinglistener Make sync terrain preloading sleep free 2021-09-07 14:52:42 +02:00
lua Merge branch 'lua_transform' into 'master' 2021-10-06 09:21:21 +00:00
misc Add functions to compress/decompress vector of bytes 2021-10-18 20:46:22 +02:00
myguiplatform converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
nif Handle NiExtraData *properly* 2021-07-27 07:58:57 +03:00
nifbullet Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
nifosg fixes coverity-ci warning 2021-10-06 10:04:03 +00:00
process Remove redundant includes 2019-02-23 08:02:12 +04:00
queries Add missing include from sol/sol.hpp 2021-07-10 01:01:50 +02:00
resource fixes a crash (#3183) 2021-10-23 10:31:46 +02:00
sceneutil fixes a crash (#3183) 2021-10-23 10:31:46 +02:00
sdlutil Merge branch 'windowing-system-cleanup' into 'master' 2021-07-25 21:01:06 +00:00
settings Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
shader use StateSet define for translucentFramebuffer (#3138) 2021-10-05 14:37:08 +02:00
sqlite3 Fix tests on windows 2021-10-21 19:48:31 +02:00
terrain removes UnrefQueue (#3181) 2021-10-20 23:02:15 +02:00
to_utf8 Replace a handrolled memcpy with an actual call to memcpy 2021-06-22 12:52:29 +02:00
translation Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs cleans up BSAFile (#3177) 2021-10-14 14:46:44 +02:00
widgets Sprinkle some const-ref 2021-08-15 19:50:28 +02:00
CMakeLists.txt Remove non-existent file from CMakeLists 2021-10-23 01:38:32 +02:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00