Skip to content
Merged
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
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## v.21.0 -

##### Fixes :wrench:

- Setting CesiumGeoreference.ellipsoid at runtime will now correctly update the Georeference and associated transforms.

## v1.20.0 - 2025-12-01

##### Additions :tada:
Expand Down
9 changes: 8 additions & 1 deletion Runtime/CesiumGeoreference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,14 @@ public CesiumEllipsoid ellipsoid
}
set
{
this._ellipsoid = value;
// Don't set the _ellipsoid field directly; instead, set the ellipsoidOverride,
// so that transforms are updated properly. _ellipsoid will be set through that
// process.
if (this._ellipsoidOverride != value)
{
this._ellipsoidOverride = value;
this.ReloadEllipsoid();
}
}
}

Expand Down