diff options
author | Chaosus89 <chaosus89@gmail.com> | 2019-09-01 13:12:33 +0300 |
---|---|---|
committer | Chaosus89 <chaosus89@gmail.com> | 2019-09-01 13:12:33 +0300 |
commit | a68ea5721f0151782379f6f3302b6fee86987596 (patch) | |
tree | d6265db584d8198dbb64e2741a7fe06dafce6d36 /scene | |
parent | 5dd51a5b3b3da516c0e8bb2855d2772def037203 (diff) |
Fix semicolon parsing in visual shader expression
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/visual_shader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index e37cbd9f92..e85609468b 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -2463,6 +2463,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad if (pre_symbols.empty()) { pre_symbols.push_back("\t"); pre_symbols.push_back(","); + pre_symbols.push_back(";"); pre_symbols.push_back("{"); pre_symbols.push_back("["); pre_symbols.push_back("("); |