Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fixed error when there are duplicated points in polygon/polyline geometries with `ArcType.RHUMB` [#12460](https://github.com/CesiumGS/cesium/pull/12460)
- Fixed ground atmosphere shaders in 3D orthographic mode [#12484](https://github.com/CesiumGS/cesium/pull/12484)
- Fixed zoom in 3D orthographic mode [#12483](https://github.com/CesiumGS/cesium/pull/12483)
- Fixed z-fighting and performance issues in 2D infinite scroll mode [#12488](https://github.com/CesiumGS/cesium/pull/12488)

## 1.126 - 2025-02-03

Expand Down
5 changes: 3 additions & 2 deletions packages/engine/Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3310,8 +3310,9 @@ function execute2DViewportCommands(scene, passState) {
}

camera._setTransform(transform);
Cartesian3.clone(position, camera.position);
camera.frustum = frustum.clone();
camera.position.x = position.x;
camera.position.y = position.y;
camera.frustum = frustum;
passState.viewport = originalViewport;
}

Expand Down
Loading