mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-21 18:41:29 +00:00
Merge branch 'd'oh' into 'master'
Update AABB also in sync cases, that was broken in !778 See merge request OpenMW/openmw!1053
This commit is contained in:
commit
41a10a7007
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ namespace MWPhysics
|
||||||
|
|
||||||
void PhysicsTaskScheduler::updateSingleAabb(std::weak_ptr<PtrHolder> ptr, bool immediate)
|
void PhysicsTaskScheduler::updateSingleAabb(std::weak_ptr<PtrHolder> ptr, bool immediate)
|
||||||
{
|
{
|
||||||
if (immediate)
|
if (immediate || mNumThreads == 0)
|
||||||
{
|
{
|
||||||
updatePtrAabb(ptr);
|
updatePtrAabb(ptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue