Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating Camera.changed to account for changes in roll #11844

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Prev Previous commit
Next Next commit
remove early return
  • Loading branch information
malaretv committed Feb 21, 2024
commit 598f9429f6f6582fe2c17e9e97c98ef3f793022e
1 change: 0 additions & 1 deletion packages/engine/Source/Scene/Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ Camera.prototype._updateCameraChanged = function () {
camera._changed.raiseEvent(
Math.max(rollChangedPercentage, headingChangedPercentage)
);
return;
}
if (camera._mode === SceneMode.SCENE2D) {
if (!defined(camera._changedFrustum)) {
Expand Down
Loading