1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Fix crash when interacting with the 2d editor

This commit is contained in:
George Marques
2017-05-23 11:00:44 -03:00
parent 5b0ecc9ad3
commit 86ef71fc95

View File

@@ -1531,8 +1531,8 @@ void CanvasItemEditor::_viewport_gui_input(const Ref<InputEvent> &p_event) {
continue; continue;
} }
bool uniform = b->get_shift(); bool uniform = m->get_shift();
bool symmetric = b->get_alt(); bool symmetric = m->get_alt();
dto = dto - (drag == DRAG_ALL || drag == DRAG_NODE_2D ? drag_from - drag_point_from : Vector2(0, 0)); dto = dto - (drag == DRAG_ALL || drag == DRAG_NODE_2D ? drag_from - drag_point_from : Vector2(0, 0));