From 896d714a9e889b26978968873e3d9512b99ceffe Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 30 Jun 2024 13:27:15 +0300 Subject: [PATCH] Make "similar colors" mode in the Bucket tool change the same color in all selected cels --- src/Tools/DesignTools/Bucket.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/DesignTools/Bucket.gd b/src/Tools/DesignTools/Bucket.gd index c5933c4e1..34f653df9 100644 --- a/src/Tools/DesignTools/Bucket.gd +++ b/src/Tools/DesignTools/Bucket.gd @@ -180,11 +180,11 @@ func draw_end(pos: Vector2i) -> void: func fill_in_color(pos: Vector2i) -> void: var project := Global.current_project + var color := project.get_current_cel().get_image().get_pixelv(pos) var images := _get_selected_draw_images() for image in images: if Tools.check_alpha_lock(image, pos): continue - var color: Color = image.get_pixelv(pos) var pattern_image: Image if _fill_with == FillWith.COLOR or _pattern == null: if tool_slot.color.is_equal_approx(color):