diff options
author | Eric M <itsjusteza@gmail.com> | 2023-01-10 21:30:07 +1000 |
---|---|---|
committer | Eric M <itsjusteza@gmail.com> | 2023-01-10 21:30:07 +1000 |
commit | 871ddf80c097717ad55026ce0cf60481af489eae (patch) | |
tree | d9f8b397e56da073d3cc83887704ff7e13a43d93 /editor/plugins/collision_shape_2d_editor_plugin.h | |
parent | 269fa200d04ae96b0114b788e18df638c5fb164b (diff) | |
download | redot-engine-871ddf80c097717ad55026ce0cf60481af489eae.tar.gz |
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
* Pressing escape while gizmo editing will discard the changes made during that edit 'session'
Diffstat (limited to 'editor/plugins/collision_shape_2d_editor_plugin.h')
-rw-r--r-- | editor/plugins/collision_shape_2d_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/collision_shape_2d_editor_plugin.h b/editor/plugins/collision_shape_2d_editor_plugin.h index 68fc0ddbdf..9c37b6cf9d 100644 --- a/editor/plugins/collision_shape_2d_editor_plugin.h +++ b/editor/plugins/collision_shape_2d_editor_plugin.h @@ -71,6 +71,7 @@ class CollisionShape2DEditor : public Control { bool pressed; Variant original; Transform2D original_transform; + Vector2 original_point; Point2 last_point; Variant get_handle_value(int idx) const; |