Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing Decimal Values in Transform Fields Causes Introduction of Negative #7574

Open
tpal-1 opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@tpal-1
Copy link

tpal-1 commented Feb 5, 2024

Summary

Manually editing the fields next to the sliders in the transform module in local reference frame causes the introduction of an unexpected negative when editing the decimal values. Seems to be an issue between the local mode transform and the code that manages the number of decimal places displayed. See: https://discourse.slicer.org/t/manually-adjusting-transform-applied-object-seems-to-jump-around-matrixes-not-edited-as-expected/34086

Steps to reproduce

  • Load MRHead, create and apply linear transform to it
  • Switch to local transformation mode
  • Click left of the decimal point in the LR translation slicer text box and type 1 => head moves to patient right, upper right element of matrix is 1
  • Use arrow to move to the right of the decimal point and type 5 => head moves to patient left, upper right element is -1.5
  • Type more 5s into and the matrix element gets more and more negative
  • Setting value back to 0 results in a non-identity matrix

Environment

  • Slicer version: Slicer-5.6.1 (also happens on 5.2.2; notably known to NOT happen in 4.11)
  • Operating system: Mac OS Monterey 12.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant