Merge pull request #58919 from Chaosus/vs_fix_custom_template

This commit is contained in:
Yuri Roubinsky 2022-03-09 11:02:34 +03:00 committed by GitHub
commit cf51b541e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;"