mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
Fix issue when uploading a shader on the Web version
This commit is contained in:
parent
0a63664391
commit
9f82c85b73
|
@ -171,4 +171,5 @@ func load_shader() -> void:
|
|||
shader.code = file_data
|
||||
|
||||
var shader_effect_dialog = Global.control.get_node("Dialogs/ImageEffects/ShaderEffect")
|
||||
shader_effect_dialog.change_shader(shader, file_name.get_basename())
|
||||
if is_instance_valid(shader_effect_dialog):
|
||||
shader_effect_dialog.change_shader(shader, file_name.get_basename())
|
||||
|
|
Loading…
Reference in a new issue