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:
parent
d4c3ae3dc6
commit
033238b787
|
@ -83,7 +83,9 @@ func _set_node_values() -> void:
|
||||||
elif node is CheckBox:
|
elif node is CheckBox:
|
||||||
node.button_pressed = value
|
node.button_pressed = value
|
||||||
elif node is GradientEditNode:
|
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:
|
func _set_value_from_node(value, prop: String) -> void:
|
||||||
|
|
Loading…
Reference in a new issue