diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-23 10:59:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-23 10:59:06 +0200 |
commit | 01c866a5993d78d414b81836eec4051c27444b08 (patch) | |
tree | fe9c15c4c2d8026d5ce1045389e7e0e51b9e056e /editor/plugins | |
parent | 7c225f5bfe1f514d1998bf13f72fc1b0ec162ff6 (diff) | |
parent | 5705825d559dddb5acce3dabb0135579cf08c5eb (diff) |
Merge pull request #63339 from Chaosus/shader_editor_fix
Fix clearing errors indication in the shader editor
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 4af44da35b..303b52c495 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 |