diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-29 07:55:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-29 07:55:27 +0100 |
commit | 7b28f79f94bbe528f82e88df4e7403a34762f171 (patch) | |
tree | d31eb0b25be64dd1105f383f47da44df74dce3ae | |
parent | 7d710a745e3eecbde482349fff78f0a4e14f6371 (diff) | |
parent | 9086e7330fdd4ee573ce8a4de0ec8cf3bd7a9729 (diff) |
Merge pull request #33152 from Chaosus/vs_fix
Removes translations from generated visual shader code
-rw-r--r-- | scene/resources/visual_shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index bd6835f816..cfc57b6e33 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -1599,7 +1599,7 @@ String VisualShaderNodeInput::get_output_port_name(int p_port) const { } String VisualShaderNodeInput::get_caption() const { - return TTR("Input"); + return "Input"; } String VisualShaderNodeInput::generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview) const { @@ -1921,7 +1921,7 @@ bool VisualShaderNodeOutput::is_port_separator(int p_index) const { } String VisualShaderNodeOutput::get_caption() const { - return TTR("Output"); + return "Output"; } String VisualShaderNodeOutput::generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview) const { |