You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/resource
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.
3 years ago
..
animation.cpp Use const auto& 4 years ago
animation.hpp OSG-Collada animation support 4 years ago
bulletshape.cpp Dont copy-construct from a const-ref when used only as a const-ref 3 years ago
bulletshape.hpp Some actors are supposed to spawn on an object that belongs to an adjacent cell. 4 years ago
bulletshapemanager.cpp removes version guard (#3173) 3 years ago
bulletshapemanager.hpp Mark overrided methods by override keyword 4 years ago
imagemanager.cpp Move getFileExtension to common header and use instead of repeating same code 3 years ago
imagemanager.hpp Mark overrided methods by override keyword 4 years ago
keyframemanager.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
keyframemanager.hpp Sprinkle some references where it makes sense 4 years ago
multiobjectcache.cpp Replace OpenThreads by std types 5 years ago
multiobjectcache.hpp Replace OpenThreads by std types 5 years ago
niffilemanager.cpp Make reportStats const 8 years ago
niffilemanager.hpp Mark overrided methods by override keyword 4 years ago
objectcache.hpp Replace zeroes and nulls by nullptrs 4 years ago
resourcemanager.hpp Avoid the terrain sync completely in most cases (#3103) 3 years ago
resourcesystem.cpp Separate keyframes logic to provide basis for osgAnimation integration. 4 years ago
resourcesystem.hpp Implement generic caching system 6 years ago
scenemanager.cpp fixes a crash (#3183) 3 years ago
scenemanager.hpp fixes a crash (#3183) 3 years ago
stats.cpp removes unused code (#3129) 3 years ago
stats.hpp Collect all available stats if OPENMW_OSG_STATS_FILE is set and point to 4 years ago