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

Prevent hotkeys activating modes absent from GizmoOptions.gizmo_modes #87

Open
fr33zing opened this issue Jan 26, 2025 · 0 comments
Open

Comments

@fr33zing
Copy link

First off, awesome plugin. It's hard to express how much time you've saved me while working on my level editor.

I've restricted rotation in gizmo_modes to only allow rotation on the Z axis. Interacting using the mouse, there is no way to rotate the object on another axis. However, if I use the rotate hotkey, I'm able to rotate it on the view axis. The behavior I expect is that using the rotate hotkey under these circumstances results in activating GizmoMode::RotateZ, not GizmoMode::RotateView.

I have not tested other scenarios but my assumption is that this would also apply to scaling and translating.

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

No branches or pull requests

1 participant