From 7519fd677bec485a80f496ae593b3b991a1af024 Mon Sep 17 00:00:00 2001 From: RorotoSic <70805756+RorotoSic@users.noreply.github.com> Date: Thu, 7 Mar 2024 18:02:26 +0100 Subject: [PATCH] btns flip/rotate hide when a non-image brush is selected --- src/Tools/BaseDraw.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tools/BaseDraw.gd b/src/Tools/BaseDraw.gd index 3f74d24442c..ebd898de9e5 100644 --- a/src/Tools/BaseDraw.gd +++ b/src/Tools/BaseDraw.gd @@ -172,6 +172,8 @@ func update_brush() -> void: _polylines = _create_polylines(_indicator) $Brush/Type/Texture.texture = _brush_texture $ColorInterpolation.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM] + $Flip.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM] + $Rotate.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM] func update_random_image() -> void: