1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-04 12:15:32 +00:00

Resolves #5517 by removing the object being rotated from the paging system.

This commit is contained in:
Bret Curtis 2020-07-09 22:36:57 +02:00
parent 46db69a349
commit bbba524a6c

View file

@ -1390,6 +1390,9 @@ namespace MWWorld
{ {
if(ptr.getRefData().getBaseNode() != 0) if(ptr.getRefData().getBaseNode() != 0)
{ {
mRendering->pagingBlacklistObject(mStore.find(ptr.getCellRef().getRefId()), ptr);
mWorldScene->removeFromPagedRefs(ptr);
mRendering->rotateObject(ptr, rotate); mRendering->rotateObject(ptr, rotate);
mPhysics->updateRotation(ptr); mPhysics->updateRotation(ptr);