diff --git a/src/Autoload/Tools.gd b/src/Autoload/Tools.gd index 52ca2d843..e1bb3fe47 100644 --- a/src/Autoload/Tools.gd +++ b/src/Autoload/Tools.gd @@ -391,7 +391,6 @@ func attempt_config_share(from_idx: int, config: Dictionary = {}): var from_tool = from_slot.tool_node if from_tool.has_method("get_config"): config = from_tool.get_config() - #print(config) var target_slot: Slot = _slots.get(MOUSE_BUTTON_LEFT, null) if from_idx == MOUSE_BUTTON_LEFT: target_slot = _slots.get(MOUSE_BUTTON_RIGHT, null) diff --git a/src/Tools/DesignTools/CurveTool.gd b/src/Tools/DesignTools/CurveTool.gd index 80a1d3b81..803c7efbb 100644 --- a/src/Tools/DesignTools/CurveTool.gd +++ b/src/Tools/DesignTools/CurveTool.gd @@ -44,17 +44,20 @@ func update_indicator() -> void: func get_config() -> Dictionary: var config := super.get_config() + config["fill"] = _fill config["thickness"] = _thickness return config func set_config(config: Dictionary) -> void: super.set_config(config) + _fill = config.get("fill", _fill) _thickness = config.get("thickness", _thickness) func update_config() -> void: super.update_config() + $FillCheckbox.button_pressed = _fill $ThicknessSlider.value = _thickness