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

[fix] wrong scale value #1285

Merged
merged 5 commits into from
Aug 29, 2023
Merged

[fix] wrong scale value #1285

merged 5 commits into from
Aug 29, 2023

Conversation

miyanyan
Copy link
Contributor

make a circle, center is m_objects_center
when mouse press, get the circle's radius, r = len(m_objects_center - mouse_start)
when mouse move, get the len from center to mouse_pos, d = len(m_objects_center - mouse_pos)
so the scale size is d / r

new.file.-.Zeno.Editor.1.0.0.531.2023-07-15.12-56-46.mp4

btw, it's still hard to scale because the INTERACT_XYZ handler is too small, i think we should create a handler like blender
image

@miyanyan
Copy link
Contributor Author

large xyz scale range, make scale xyz easier

Untitled.video.-.Made.with.Clipchamp.mp4

@zhouhang95 zhouhang95 merged commit f08217e into zenustech:master Aug 29, 2023
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants