diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-07-23 11:32:04 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-07-23 11:32:04 +0300 |
commit | 5705825d559dddb5acce3dabb0135579cf08c5eb (patch) | |
tree | fe9c15c4c2d8026d5ce1045389e7e0e51b9e056e | |
parent | 7c225f5bfe1f514d1998bf13f72fc1b0ec162ff6 (diff) |
Fix clearing errors indication in the shader editor
-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 |