Clears completion_class in shaders (may cause troubles if not).

This commit is contained in:
Yuri Roubinsky 2020-01-19 16:35:54 +03:00
parent e8dc581bfc
commit 3dea1c725e
1 changed files with 1 additions and 0 deletions

View File

@ -856,6 +856,7 @@ void ShaderLanguage::clear() {
completion_type = COMPLETION_NONE;
completion_block = NULL;
completion_function = StringName();
completion_class = SubClassTag::TAG_GLOBAL;
error_line = 0;
tk_line = 1;