diff options
author | Robert Yevdokimov <robert.yevdokimov@autStand.com> | 2024-01-13 22:49:20 -0500 |
---|---|---|
committer | Robert Yevdokimov <robert.yevdokimov@autStand.com> | 2024-02-12 16:20:08 -0500 |
commit | f2f3f17de851896ce0096876e370dd67076c50ef (patch) | |
tree | 44e6e42a5e8b2394a67210f4a9681ca00dedeeed /editor/plugins/cast_2d_editor_plugin.h | |
parent | 26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff) | |
download | redot-engine-f2f3f17de851896ce0096876e370dd67076c50ef.tar.gz |
Do not commit transforms and handles if no changes were made
Diffstat (limited to 'editor/plugins/cast_2d_editor_plugin.h')
-rw-r--r-- | editor/plugins/cast_2d_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/cast_2d_editor_plugin.h b/editor/plugins/cast_2d_editor_plugin.h index ad48d6a524..36b302f311 100644 --- a/editor/plugins/cast_2d_editor_plugin.h +++ b/editor/plugins/cast_2d_editor_plugin.h @@ -44,6 +44,7 @@ class Cast2DEditor : public Control { bool pressed = false; Point2 original_target_position; + Vector2 original_mouse_pos; protected: void _notification(int p_what); |