From baf1caeb2804416b332395fced1036a42630c3c8 Mon Sep 17 00:00:00 2001 From: cobrapitz <12397702+cobrapitz@users.noreply.github.com> Date: Tue, 10 Nov 2020 01:01:07 +0100 Subject: [PATCH] fixed bucket tool not having an action --- addons/Godoxel/Editor.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/Godoxel/Editor.gd b/addons/Godoxel/Editor.gd index 0034881..9df7d5e 100644 --- a/addons/Godoxel/Editor.gd +++ b/addons/Godoxel/Editor.gd @@ -136,6 +136,8 @@ func _input(event): Tools.BUCKET: if event.button_index == BUTTON_LEFT: if event.pressed: + if _current_action == null: + _current_action = get_action() do_action([cell_mouse_position, last_cell_mouse_position, selected_color]) Tools.COLORPICKER: