From 5705825d559dddb5acce3dabb0135579cf08c5eb Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Sat, 23 Jul 2022 11:32:04 +0300 Subject: [PATCH] Fix clearing errors indication in the shader editor --- editor/plugins/shader_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 4af44da35bb..303b52c495a 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -376,6 +376,7 @@ void ShaderTextEditor::_validate_script() { get_text_editor()->set_line_background_color(i, Color(0, 0, 0, 0)); } set_error(""); + set_error_count(0); if (last_compile_result != OK) { //preprocessor error