Skip to content

Commit 2086f05

Browse files
authored
fix: recreate pr-562 change (#606)
1 parent db9898f commit 2086f05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CameraControls.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,6 +2803,8 @@ export class CameraControls extends EventDispatcher {
28032803
! approxZero( this._focalOffset.z );
28042804
if ( affectOffset ) {
28052805

2806+
this._camera.matrix.compose( this._camera.position, this._camera.quaternion, this._camera.scale );
2807+
28062808
_xColumn.setFromMatrixColumn( this._camera.matrix, 0 );
28072809
_yColumn.setFromMatrixColumn( this._camera.matrix, 1 );
28082810
_zColumn.setFromMatrixColumn( this._camera.matrix, 2 );

0 commit comments

Comments
 (0)