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

Fix texture loading in LayerEffectsSettings

This commit is contained in:
Emmanouil Papadeas 2024-04-08 02:43:01 +03:00
parent 6a00250cc7
commit 25a69a99d6

View file

@ -195,7 +195,7 @@ func _set_parameter(value, param: String, effect: LayerEffect) -> void:
Global.canvas.queue_redraw() Global.canvas.queue_redraw()
func _load_parameter_texture(path: String, effect: LayerEffect, param: String) -> void: func _load_parameter_texture(path: String, param: String, effect: LayerEffect) -> void:
var image := Image.new() var image := Image.new()
image.load(path) image.load(path)
if !image: if !image: