1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge branch 'jumpy' into 'master'

Don't run unstuck if there is no simulation running in async case (#5799)

See merge request OpenMW/openmw!548
This commit is contained in:
Alexei Dobrohotov 2021-01-19 15:04:49 +00:00
commit 6d70a3f308

View File

@ -173,6 +173,8 @@ namespace MWPhysics
{ {
if (mDeferAabbUpdate) if (mDeferAabbUpdate)
updateAabbs(); updateAabbs();
if (!mRemainingSteps)
return;
for (auto& data : mActorsFrameData) for (auto& data : mActorsFrameData)
if (data.mActor.lock()) if (data.mActor.lock())
{ {