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

Add rotation snap amount to UI #979

Closed
wants to merge 2 commits into from

Conversation

HellAholic
Copy link
Contributor

Based on the idea of @GregValiant

image

A text field is added to the UI for snap angle
Using the setter and getter to update the behavior
Some modification to the setter and getter so the output/input can be consumed and stored as previous
The value is used to change the snap to angle while rotating the model
Works with all 3 rotation Axes

getter will return the value in degrees to be consumed in the qml
setter will store value in radians to remain consistent if the value is in use elsewhere.
@truegret
Copy link

I like it ..... !

@GregValiant
Copy link
Contributor

Simple, and easy to understand.
Nice job kid!

@HellAholic
Copy link
Contributor Author

Closing this PR in favor of #978
All changes from this PR are included in the PR with rotation by input.

@HellAholic HellAholic closed this Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Community Contribution 👑 Community Contribution PR's
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants