Merge pull request #35317 from Chaosus/fix_shader

Clears completion_class in shaders (may cause troubles if not).
This commit is contained in:
Yuri Roubinsky 2020-01-19 19:00:39 +03:00 committed by GitHub
commit baa7d49c3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;