1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00
OpenMW/apps/openmw/mwphysics
elsid 5261f0c5cf
Modify PhysicsTaskScheduler::mCollisionObjects under lock
addCollisionObject is called from the main thread and removeCollisionObject is
usually called from the main thread and rarely from one of the physics worker
threads. This usually happens on cell unloading when object is already removed
from the scene but there is active simulation for it. Which possible because
it's a shared pointer.

There is getUserPointer function which only reads from the container but it's
called only when there is no active simulation so no lock is required.
2024-04-26 16:17:40 +02:00
..
actor.cpp Set paged refs' base node to null (#6335) 2024-01-02 02:31:47 +03:00
actor.hpp
actorconvexcallback.cpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
actorconvexcallback.hpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
closestnotmerayresultcallback.cpp add ignore list to raycasts 2024-02-12 07:52:47 -08:00
closestnotmerayresultcallback.hpp add ignore list to raycasts 2024-02-12 07:52:47 -08:00
collisiontype.hpp
constants.hpp
contacttestresultcallback.cpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
contacttestresultcallback.hpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
contacttestwrapper.cpp
contacttestwrapper.h
hasspherecollisioncallback.hpp
heightfield.cpp
heightfield.hpp
movementsolver.cpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
movementsolver.hpp
mtphysics.cpp Modify PhysicsTaskScheduler::mCollisionObjects under lock 2024-04-26 16:17:40 +02:00
mtphysics.hpp Revert "Merge branch 'skating-olympics' into 'master'" 2023-12-27 19:11:49 +00:00
object.cpp Base GetColliding script functions on collisions detected by the movement solver 2024-01-20 16:50:51 +01:00
object.hpp Base GetColliding script functions on collisions detected by the movement solver 2024-01-20 16:50:51 +01:00
physicssystem.cpp add ignore list to raycasts 2024-02-12 07:52:47 -08:00
physicssystem.hpp add ignore list to raycasts 2024-02-12 07:52:47 -08:00
projectile.cpp
projectile.hpp
projectileconvexcallback.cpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
projectileconvexcallback.hpp Cleanup physics callbacks 2024-02-07 22:04:34 +01:00
ptrholder.hpp Revert "Merge branch 'skating-olympics' into 'master'" 2023-12-27 19:11:49 +00:00
raycasting.hpp add ignore list to raycasts 2024-02-12 07:52:47 -08:00
stepper.cpp
stepper.hpp
trace.cpp
trace.h