Merge branch '#5517_ag_rotate_object_fix' into 'master'

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

Closes #5517

See merge request OpenMW/openmw!259
pull/578/head
psi29a 5 years ago
commit 15c5cf42c0

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

Loading…
Cancel
Save