mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-14 23:05:57 -04:00
Update rotated world objects in navigator
This commit is contained in:
parent
17991164e4
commit
4d86bf3bf2
@ -1458,6 +1458,9 @@ namespace MWWorld
|
|||||||
{
|
{
|
||||||
mRendering->rotateObject(ptr, rotate);
|
mRendering->rotateObject(ptr, rotate);
|
||||||
mPhysics->updateRotation(ptr);
|
mPhysics->updateRotation(ptr);
|
||||||
|
|
||||||
|
if (const auto object = mPhysics->getObject(ptr))
|
||||||
|
updateNavigatorObject(object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user