mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
Default values for snap_rotation_step and snap_rotation_offset were transposed. Swap them back.
This commit is contained in:
parent
c2d55a4e1a
commit
0ac971c0d3
@ -214,8 +214,8 @@ private:
|
|||||||
int primary_grid_steps = 8;
|
int primary_grid_steps = 8;
|
||||||
int grid_step_multiplier = 0;
|
int grid_step_multiplier = 0;
|
||||||
|
|
||||||
real_t snap_rotation_step = 0.0;
|
real_t snap_rotation_step = Math::deg2rad(15.0);
|
||||||
real_t snap_rotation_offset = Math::deg2rad(15.0);
|
real_t snap_rotation_offset = 0.0;
|
||||||
real_t snap_scale_step = 0.1f;
|
real_t snap_scale_step = 0.1f;
|
||||||
bool smart_snap_active = false;
|
bool smart_snap_active = false;
|
||||||
bool grid_snap_active = false;
|
bool grid_snap_active = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user