diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-01-19 19:00:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 19:00:39 +0300 |
commit | baa7d49c3a7054330fb5fa80905ce90885b00d32 (patch) | |
tree | 1ecdc3d7ee314a5c7aa4b98f272da4ff6d4a900c | |
parent | d11d7dfe3e15e34ba400e6b73d618abc4b8f5886 (diff) | |
parent | 3dea1c725e513a57ac156224a7f441f0530d022b (diff) |
Merge pull request #35317 from Chaosus/fix_shader
Clears completion_class in shaders (may cause troubles if not).
-rw-r--r-- | servers/visual/shader_language.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 3e0a28ac1d..121519be0f 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -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; |