bug: scaling on axes other than the rotation axis fails after rotating any primitive

Chiusa
#253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by tracing how the Channel Box numeric fields apply primitive rotation and scale, then inspect the shared transform path used by the five primitive types. Reproduce with cargo run --locked using the listed rotation and scale steps. Done when scaling on both axes orthogonal to a rotation works for each primitive; the issue does not name a test or source file.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

After rotating any primitive on one axis, scaling on the other two axes does not
apply, while scaling on the rotation axis still works.

Steps to reproduce

  1. Launch the native window with cargo run --locked.
  2. Create a primitive (reproduced with Polygon Cube, Plane, Sphere, Cylinder and Cone).
  3. Set a rotation on one axis in the Channel Box, e.g. Rotate Z = 45, Enter.
  4. Set a scale on the other axes, e.g. Scale X = 2, Enter, then Scale Y = 2, Enter.
  5. Observe that Scale X/Y do not apply, while Scale Z = 2 does.

The pattern holds for every axis:

Rotation axis Scaling that fails Scaling that works
X Y, Z X
Y X, Z Y
Z X, Y Z

The direction of the rotation does not matter, and it reproduces with all five
primitive types.

Expected behavior

Scaling on any axis should apply regardless of the primitive's rotation, as in
Maya (not claiming parity; this is the basic transform expectation).

Observed behavior

Scaling on the two axes orthogonal to the rotation axis does not apply. The
rotation axis itself still scales.

Build and platform

  • Source commit: bcc0cc15e9c73ba3654071ffa8ccc4311c96fdd4 (main)
  • OS: Kali GNU/Linux Rolling 2026.3, kernel 7.1.5+kali-amd64, x86_64
  • Rust: 1.99.0
  • Session: X11 (DISPLAY=:0, XDG_SESSION_TYPE=tty, no Wayland)
  • Build: cargo run --locked

Additional notes

  • Observed during the Linux native interaction verification for #8 (PR #252).
  • Reproduced through the Channel Box numeric fields. Scale tool handles were not
    exercised.
  • Not verified: macOS or Windows, and whether the same behavior affects the
    Scale tool handles.
  • No parity claim; this is a transform-correctness observation.
Lingua principale
Rust
Stelle
4
Fork
2
Merge medio
9h 11m
PR unite (30g)
181

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cristim/AztecCraft

Tutte le issue di cristim/AztecCraft

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.