diff --git a/src/UI/Nodes/NoiseGenerator.gd b/src/UI/Nodes/NoiseGenerator.gd index 6ec24f893..5b69a55d3 100644 --- a/src/UI/Nodes/NoiseGenerator.gd +++ b/src/UI/Nodes/NoiseGenerator.gd @@ -83,7 +83,9 @@ func _set_node_values() -> void: elif node is CheckBox: node.button_pressed = value elif node is GradientEditNode: - node.gradient = value + var gradient_tex := GradientTexture2D.new() + gradient_tex.gradient = value + node.set_gradient_texture(gradient_tex) func _set_value_from_node(value, prop: String) -> void: