1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

Fix the gradient of the noise generator's color ramp not updating properly

This commit is contained in:
Emmanouil Papadeas 2024-12-21 00:32:56 +02:00
parent d4c3ae3dc6
commit 033238b787

View file

@ -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: