From 922c48f50ea7a8ab633fc05f0373fbe29c185325 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Tue, 3 Nov 2020 00:43:48 +0200 Subject: [PATCH] Fix LightenDarken issue where it did not remember some options when switching tools --- src/Tools/LightenDarken.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tools/LightenDarken.gd b/src/Tools/LightenDarken.gd index 262dc7f0d..05181b08a 100644 --- a/src/Tools/LightenDarken.gd +++ b/src/Tools/LightenDarken.gd @@ -102,7 +102,9 @@ func get_config() -> Dictionary: func set_config(config : Dictionary) -> void: .set_config(config) _shading_mode = config.get("shading_mode", _shading_mode) + _drawer.color_op.shading_mode = _shading_mode _mode = config.get("mode", _mode) + _drawer.color_op.lighten_or_darken = _mode _amount = config.get("amount", _amount) _hue_amount = config.get("hue_amount", _hue_amount) _sat_amount = config.get("sat_amount", _sat_amount)