diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-31 00:20:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 00:20:07 +0200 |
commit | a32f84dda9b114b710622daff2c4e52474fd3477 (patch) | |
tree | 1697633ab0b73c2e05944b81a65b7cc60b57a6dc | |
parent | a2c60fbc2b8cd31e014a2b79807941f80330a39f (diff) | |
parent | 0ac971c0d35a2d688ab85e4c818600fae7d4cf28 (diff) |
Merge pull request #63690 from snailrhymer/rotation-snap-fix
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h index 5b368de3cc..04fd819dec 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -214,8 +214,8 @@ private: int primary_grid_steps = 8; int grid_step_multiplier = 0; - real_t snap_rotation_step = 0.0; - real_t snap_rotation_offset = Math::deg2rad(15.0); + real_t snap_rotation_step = Math::deg2rad(15.0); + real_t snap_rotation_offset = 0.0; real_t snap_scale_step = 0.1f; bool smart_snap_active = false; bool grid_snap_active = false; |