diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2022-03-09 11:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 11:02:34 +0300 |
commit | cf51b541e0edfeabda8bcd63fcefc0eccc4e6de4 (patch) | |
tree | 2e21966ba52c6c3e6bd84c5641c24c3918ea3dea | |
parent | f726ba37ec36b2232f0a54ce3576381477ab1aff (diff) | |
parent | 4fee0e3b7dd170c2f1cdbb154c121ff20034fab6 (diff) |
Merge pull request #58919 from Chaosus/vs_fix_custom_template
-rw-r--r-- | modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd index d71f2592fe..cf6d68333d 100644 --- a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd +++ b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd @@ -34,5 +34,5 @@ func _get_output_port_name(port: int) -> String: func _get_output_port_type(port: int) -> int: return PORT_TYPE_SCALAR -func _get_code(input_vars: Array[String], output_vars: Array[String], mode: Shader.Mode, type: VisualShader.Type) -> String: +func _get_code(input_vars: Array[String], output_vars: Array[String], mode: int, type: int) -> String: return output_vars[0] + " = 0.0;" |