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

Update rotated world objects in navigator

This commit is contained in:
elsid 2019-08-15 18:18:53 +02:00
parent 17991164e4
commit 4d86bf3bf2
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

View File

@ -1458,6 +1458,9 @@ namespace MWWorld
{
mRendering->rotateObject(ptr, rotate);
mPhysics->updateRotation(ptr);
if (const auto object = mPhysics->getObject(ptr))
updateNavigatorObject(object);
}
}