mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +00:00
Update AABB also in sync cases
This commit is contained in:
parent
e371831086
commit
7145ef4ce0
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