Skip to content

View Gizmo Orientation #128

@ParkerCai

Description

@ParkerCai

Bug

The view gizmo's "top" face snaps correctly on first click, but on subsequent clicks (after any orbit) it orients the camera to an incorrect angle instead of true top-down.

Steps to reproduce

  1. Open a parametric model in the viewer (e.g. any model with linear_extrude so the top is well-defined).
  2. Click the TOP face of the view gizmo (lower-right corner).
  3. Observe: camera correctly snaps to top-down.
  4. Orbit the model with click-and-drag.
  5. Click the TOP face of the view gizmo again.
  6. Observe: camera lands at an unexpected angle, not true top-down.

Expected behavior

Each click on the TOP gizmo face should snap the camera to the same orthographic top-down orientation, regardless of the current orbit state.

Actual behavior

Only the first click produces a correct top-down view. Subsequent clicks (after any orbit) snap to a different, drifted angle.

Demo

Image

Environment

  • Browser: <Chrome + Version 147.0.7727.103 (Official Build) (64-bit)>
  • OS: <Windows 11 / macOS >
  • Reproduces on: <production adam.new/cadam and local dev>

Notes

  • Other gizmo faces (FRONT, RIGHT, etc.) have the same issue
  • It affects both orthographic and perspective views
  • A hard refresh does not reset the bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions