mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-16 00:43:07 +00:00
FIX: Actually set the transform so first person camera works again
This commit is contained in:
parent
7d884747fa
commit
fc65643224
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue