From a68ea5721f0151782379f6f3302b6fee86987596 Mon Sep 17 00:00:00 2001 From: Chaosus89 Date: Sun, 1 Sep 2019 13:12:33 +0300 Subject: [PATCH] Fix semicolon parsing in visual shader expression --- scene/resources/visual_shader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index e37cbd9f928..e85609468bd 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("(");