mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-07 08:15:34 +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:
commit
6d70a3f308
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue