1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-06 02:19:43 +00:00

Update AABB also in sync cases

This commit is contained in:
fredzio 2021-07-25 18:00:48 +02:00
parent e371831086
commit 7145ef4ce0

View file

@ -390,7 +390,7 @@ namespace MWPhysics
void PhysicsTaskScheduler::updateSingleAabb(std::weak_ptr<PtrHolder> ptr, bool immediate)
{
if (immediate)
if (immediate || mNumThreads == 0)
{
updatePtrAabb(ptr);
}