summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2023-03-08 06:14:34 -0500
committerRyan Roden-Corrent <ryan@rcorre.net>2023-03-08 07:13:37 -0500
commitd3d1223b970140b6a37d0c23e3b234c878be510a (patch)
treee609dc20f0e14328d09d4903b22771bd1d8dcde1 /servers/rendering_server.cpp
parentdac2d8fb4214d3394bfb33b28f35f6d1e61518a8 (diff)
downloadredot-engine-d3d1223b970140b6a37d0c23e3b234c878be510a.tar.gz
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.
Diffstat (limited to 'servers/rendering_server.cpp')
0 files changed, 0 insertions, 0 deletions