diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-07 12:50:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 12:50:44 +0100 |
commit | bfb75d107c91fc36c07b917a12de715b6b107ef9 (patch) | |
tree | 5f25deb142f992f03eef687b3673f6134752ed21 /modules/gdscript | |
parent | b02460266065413957eae3de34f9aef49c5a72f1 (diff) | |
parent | a6e280c5de51fd8c3b5d1ab1161fd5ee58f1e6be (diff) |
Merge pull request #57741 from Chaosus/vs_fixes
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd index 27383b878d..d71f2592fe 100644 --- a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd +++ b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd @@ -34,8 +34,5 @@ func _get_output_port_name(port: int) -> String: func _get_output_port_type(port: int) -> int: return PORT_TYPE_SCALAR -func _get_global_code(mode: Shader.Mode) -> String: - return "" - func _get_code(input_vars: Array[String], output_vars: Array[String], mode: Shader.Mode, type: VisualShader.Type) -> String: return output_vars[0] + " = 0.0;" |