mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-26 21:53:07 -04:00
FIX: Actually set the transform so first person camera works again
This commit is contained in:
parent
7d884747fa
commit
fc65643224
@ -52,6 +52,7 @@ namespace MWRender
|
||||
|
||||
osg::Quat orient = worldOrient * mRotate * worldOrientInverse * matrix.getRotate();
|
||||
matrix.setRotate(orient);
|
||||
matrix.setTrans(matrix.getTrans() + worldOrientInverse * mOffset);
|
||||
|
||||
matrix *= osg::Matrix::scale(worldScale);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user