diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2023-03-08 06:14:34 -0500 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-14 13:59:03 +0100 |
commit | 47dc4bc3072208b973d2a0d26c8f9502e09c7f40 (patch) | |
tree | 408cfa8d0179bfd9a2af7ea9e4ab63528d72862c /editor/animation_track_editor_plugins.cpp | |
parent | 08845dc3f000cd4de4ce1d6faabda398a5aed8b9 (diff) |
Don't unset local_coords on starting transform.
This fixes a bug introduced by 806425621cfa3daba3ba9f6b020726490a3152a4, where dragging the gizmo no longer respected local transforms.
I'm not sure why I called set_local_coords_enabled(false) in _compute_edit. Removing this line seems to fix gizmo-dragging local transforms, without breaking anything else.
I also noticed that confirming a transform leaves the gizmo axis lines on the screen. This is fixed by calling update_transform_gizmo after clearing the edit mode/instant flags, so update_transform_gizmo knows not to render any axes.
(cherry picked from commit d3d1223b970140b6a37d0c23e3b234c878be510a)
Diffstat (limited to 'editor/animation_track_editor_plugins.cpp')
0 files changed, 0 insertions, 0 deletions