Skip to content

UI Friction while editing Latitude/Longitude on CesiumGlobeAnchor #1807

@j9liu

Description

@j9liu

What happened?

It's possible to adjust a transform-related value in the Details panel by clicking a value and sliding left/right or up/down. This will smoothly update the object's position and results in one editor transaction, starting from when you click on the box to when you click off the box. In that sense, you can slide the object around all you want, but you can return it to its previous position with just one undo operation.

That isn't true for our Latitude / Longitude fields on CesiumGlobeAnchor. I've experienced one of two things:

  1. Either the sliders don't work at all.
  2. The sliders do work, but result in multiple transactions, so you have to undo a number of times before it returns to the previous position.

I'm not sure what under the hood is resulting in 1 or 2 happening at different times. 🤔 However, I will note that the Height property doesn't suffer from this issue, so it's likely related to the degrees/minutes/seconds customization that we have for it.

Environment

Cesium for Unreal version: v2.24.1
Unreal Engine Version: 5.5
Operating System: Windows 11

Reproduction steps

  1. Start with the 01_CesiumWorld sample level.
  2. Add a Cube Actor to the scene, then add a CesiumGlobeAnchorComponent.
  3. Attempt to modify the Latitude or Longitude as described above.
    ...

Supporting evidence

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions