Update rotated objects in navigator

pull/541/head
elsid 6 years ago
parent f394ace4d5
commit b51a54e976
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -1381,7 +1381,12 @@ namespace MWWorld
ptr.getRefData().setPosition(pos);
if(ptr.getRefData().getBaseNode() != 0)
{
mWorldScene->updateObjectRotation(ptr, true);
if (const auto object = mPhysics->getObject(ptr))
updateNavigatorObject(object);
}
}
void World::adjustPosition(const Ptr &ptr, bool force)

Loading…
Cancel
Save