From 4d86bf3bf28adf5dc3c76ea59817f1f40e6b74d2 Mon Sep 17 00:00:00 2001 From: elsid Date: Thu, 15 Aug 2019 18:18:53 +0200 Subject: [PATCH] Update rotated world objects in navigator --- apps/openmw/mwworld/worldimp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index ce253b8ba..dbcf1cd14 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -1458,6 +1458,9 @@ namespace MWWorld { mRendering->rotateObject(ptr, rotate); mPhysics->updateRotation(ptr); + + if (const auto object = mPhysics->getObject(ptr)) + updateNavigatorObject(object); } }