mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 11:39:40 +00:00
Merge pull request #2493 from elsid/navigator_update_rotated_objects
Update rotated world objects in navigator
This commit is contained in:
commit
3a88620a43
1 changed files with 3 additions and 0 deletions
|
@ -1458,6 +1458,9 @@ namespace MWWorld
|
|||
{
|
||||
mRendering->rotateObject(ptr, rotate);
|
||||
mPhysics->updateRotation(ptr);
|
||||
|
||||
if (const auto object = mPhysics->getObject(ptr))
|
||||
updateNavigatorObject(object);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue