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

Undoing in the middle of an action doesn't cancel it and breaks undo history #7397

Open
andy013 opened this issue Jan 17, 2025 · 0 comments
Open
Assignees

Comments

@andy013
Copy link

andy013 commented Jan 17, 2025

Describe the bug

If you try and move a GameObject and press Ctrl+Z while still dragging it, the action is not cancelled. This means, when you let go of the mouse, your object is now permanently stuck in that position and it's old position will not appear in the undo history. This happens to me often if I hit the keyboard shortcut too quickly after doing something.

To Reproduce

  1. Move a GameObject by clicking on the gizmo.
  2. Press Ctrl+Z while still dragging it.
  3. Stop moving the GameObject.
  4. See there is no undo history to get it back to it's old location.

Expected behavior

Pressing Undo while doing something should just cancel that action do nothing.

Media/Files

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

2 participants