diff --git a/addons/post_processing/node/post_process.gd b/addons/post_processing/node/post_process.gd index 085b6a7..462fe45 100644 --- a/addons/post_processing/node/post_process.gd +++ b/addons/post_processing/node/post_process.gd @@ -170,15 +170,6 @@ func _add_canvas_layer_children(_path : String, _name: String) -> void: func _process(delta): if not configuration: return - if Engine.is_editor_hint(): - if dynamically_update: - update_shaders() - else: - if configuration.reload: - configuration.reload = false - update_shaders() - else: - update_shaders() - if configuration.reload: + if configuration.reload and (dynamically_update or Engine.is_editor_hint()): configuration.reload = false update_shaders()