summaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-02 17:45:13 +0200
committerGitHub <noreply@github.com>2022-05-02 17:45:13 +0200
commit78193788d0e779e1471f632bae61adad4adbc078 (patch)
tree6e1d28ad398befd964bca92e2bd77dba8a802d76 /editor/plugins/canvas_item_editor_plugin.cpp
parent652650c10c162a9d1e65099aa00bc4bf534a5bad (diff)
parentc273ddc3eefce78f8eed86dbc71fffd1b0443e2a (diff)
Merge pull request #59895 from akien-mga/clang-tidy
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index c840ce22ce..09cca41bc9 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4888,14 +4888,6 @@ CanvasItemEditor::CanvasItemEditor() {
view_offset = Point2(-150 - RULER_WIDTH, -95 - RULER_WIDTH);
previous_update_view_offset = view_offset; // Moves the view a little bit to the left so that (0,0) is visible. The values a relative to a 16/10 screen
- grid_offset = Point2();
- grid_step = Point2(8, 8); // A power-of-two value works better as a default
- primary_grid_steps = 8; // A power-of-two value works better as a default
- grid_step_multiplier = 0;
-
- snap_rotation_offset = 0;
- snap_rotation_step = Math::deg2rad(15.0);
- snap_scale_step = 0.1f;
snap_target[0] = SNAP_TARGET_NONE;
snap_target[1] = SNAP_TARGET_NONE;