Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix doubled grid step on 2D editor startup

catboomer1105d322780cd344
diff --git a/scene/debugger/canvas_item_manipulator.h b/scene/debugger/canvas_item_manipulator.h
index dc2dbcc8275..a96d32ec116 100644
--- a/scene/debugger/canvas_item_manipulator.h
+++ b/scene/debugger/canvas_item_manipulator.h
@@ -184,7 +184,7 @@ private:
bool grid_snap = false;
Point2 grid_step;
- int grid_step_multiplier = 1;
+ int grid_step_multiplier = 0;
Point2 grid_offset;
bool ruler_tool_active = false;