diff --git a/src/UI/Dialogs/ImageEffects/DesaturateDialog.gd b/src/UI/Dialogs/ImageEffects/DesaturateDialog.gd index c025cb799..2c73288b3 100644 --- a/src/UI/Dialogs/ImageEffects/DesaturateDialog.gd +++ b/src/UI/Dialogs/ImageEffects/DesaturateDialog.gd @@ -29,7 +29,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_RButton_toggled(button_pressed: bool) -> void: diff --git a/src/UI/Dialogs/ImageEffects/DropShadowDialog.gd b/src/UI/Dialogs/ImageEffects/DropShadowDialog.gd index 519f2d5e2..ec2f8378e 100644 --- a/src/UI/Dialogs/ImageEffects/DropShadowDialog.gd +++ b/src/UI/Dialogs/ImageEffects/DropShadowDialog.gd @@ -42,7 +42,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_OffsetSliders_value_changed(_value: Vector2) -> void: diff --git a/src/UI/Dialogs/ImageEffects/GradientDialog.gd b/src/UI/Dialogs/ImageEffects/GradientDialog.gd index 6bd772f87..e2ccdb915 100644 --- a/src/UI/Dialogs/ImageEffects/GradientDialog.gd +++ b/src/UI/Dialogs/ImageEffects/GradientDialog.gd @@ -108,7 +108,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_ShapeOptionButton_item_selected(index: int) -> void: diff --git a/src/UI/Dialogs/ImageEffects/GradientMapDialog.gd b/src/UI/Dialogs/ImageEffects/GradientMapDialog.gd index 97df8b39a..8b8ff7b08 100644 --- a/src/UI/Dialogs/ImageEffects/GradientMapDialog.gd +++ b/src/UI/Dialogs/ImageEffects/GradientMapDialog.gd @@ -23,7 +23,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_GradientEdit_updated(_gradient: Gradient, _cc: bool) -> void: diff --git a/src/UI/Dialogs/ImageEffects/HSVDialog.gd b/src/UI/Dialogs/ImageEffects/HSVDialog.gd index 010967fec..ea64de834 100644 --- a/src/UI/Dialogs/ImageEffects/HSVDialog.gd +++ b/src/UI/Dialogs/ImageEffects/HSVDialog.gd @@ -39,7 +39,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _reset() -> void: diff --git a/src/UI/Dialogs/ImageEffects/InvertColorsDialog.gd b/src/UI/Dialogs/ImageEffects/InvertColorsDialog.gd index abfad838b..f6a8217fd 100644 --- a/src/UI/Dialogs/ImageEffects/InvertColorsDialog.gd +++ b/src/UI/Dialogs/ImageEffects/InvertColorsDialog.gd @@ -30,7 +30,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_RButton_toggled(button_pressed: bool) -> void: diff --git a/src/UI/Dialogs/ImageEffects/OffsetImage.gd b/src/UI/Dialogs/ImageEffects/OffsetImage.gd index 4a332150a..acae2e9c3 100644 --- a/src/UI/Dialogs/ImageEffects/OffsetImage.gd +++ b/src/UI/Dialogs/ImageEffects/OffsetImage.gd @@ -43,7 +43,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_OffsetSliders_value_changed(_value: Vector2) -> void: diff --git a/src/UI/Dialogs/ImageEffects/OutlineDialog.gd b/src/UI/Dialogs/ImageEffects/OutlineDialog.gd index eafee76dc..d5de42361 100644 --- a/src/UI/Dialogs/ImageEffects/OutlineDialog.gd +++ b/src/UI/Dialogs/ImageEffects/OutlineDialog.gd @@ -40,7 +40,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_ThickValue_value_changed(value: int) -> void: diff --git a/src/UI/Dialogs/ImageEffects/Posterize.gd b/src/UI/Dialogs/ImageEffects/Posterize.gd index 2c10cc79f..2ebb56f37 100644 --- a/src/UI/Dialogs/ImageEffects/Posterize.gd +++ b/src/UI/Dialogs/ImageEffects/Posterize.gd @@ -25,7 +25,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: else: var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_LevelsSlider_value_changed(value: float) -> void: diff --git a/src/UI/Dialogs/ImageEffects/RotateImage.gd b/src/UI/Dialogs/ImageEffects/RotateImage.gd index a698edcfe..093f71f6b 100644 --- a/src/UI/Dialogs/ImageEffects/RotateImage.gd +++ b/src/UI/Dialogs/ImageEffects/RotateImage.gd @@ -130,7 +130,6 @@ func commit_action(cel: Image, _project := Global.current_project) -> void: params["preview"] = false var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, _project.size) - await gen.done else: match type_option_button.get_selected_id(): ROTXEL: diff --git a/src/UI/Dialogs/ImageEffects/ShaderEffect.gd b/src/UI/Dialogs/ImageEffects/ShaderEffect.gd index 6a0d18188..5fbf65afb 100644 --- a/src/UI/Dialogs/ImageEffects/ShaderEffect.gd +++ b/src/UI/Dialogs/ImageEffects/ShaderEffect.gd @@ -28,7 +28,6 @@ func commit_action(cel: Image, project := Global.current_project) -> void: params[param] = param_data var gen := ShaderImageEffect.new() gen.generate_image(cel, shader, params, project.size) - await gen.done func _on_ChooseShader_pressed() -> void: