mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix the isCameraRotatedIn3D condition. (#5311)
Do not show in changelog
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user