diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-01-19 16:35:54 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-01-19 16:35:54 +0300 |
commit | 3dea1c725e513a57ac156224a7f441f0530d022b (patch) | |
tree | e7c9c1fb6f3cc6dadceab279fa87b7be3ac53f11 /servers/visual/shader_language.cpp | |
parent | e8dc581bfca91ddbd87f534aa29a72231dd8581b (diff) |
Clears completion_class in shaders (may cause troubles if not).
Diffstat (limited to 'servers/visual/shader_language.cpp')
-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; |