Skip to content

Commit

Permalink
Fix the gradient of the noise generator's color ramp not updating pro…
Browse files Browse the repository at this point in the history
…perly
  • Loading branch information
OverloadedOrama committed Dec 20, 2024
1 parent d4c3ae3 commit 033238b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/UI/Nodes/NoiseGenerator.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 033238b

Please sign in to comment.