Fix the isCameraRotatedIn3D condition. (#5311)

Do not show in changelog
This commit is contained in:
D8H
2023-05-19 12:13:40 +02:00
committed by GitHub
parent 73e087936a
commit fde1039707

View File

@@ -348,8 +348,8 @@ namespace gdjs {
isCameraRotatedIn3D() {
return (
this._threeCamera &&
this._threeCamera.rotation.x !== 0 &&
this._threeCamera.rotation.y !== 0
(this._threeCamera.rotation.x !== 0 ||
this._threeCamera.rotation.y !== 0)
);
}