Merge pull request #26294 from WindyDarian/fix_saturate_in_visual_shader

Fix saturate ScalarFunc in Visual Shader
This commit is contained in:
Rémi Verschelde 2019-02-26 09:26:43 +01:00 committed by GitHub
commit 22ee7ba4f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1136,7 +1136,7 @@ String VisualShaderNodeScalarFunc::generate_code(Shader::Mode p_mode, VisualShad
"round($)",
"ceil($)",
"fract($)",
"min(max($,0),1)",
"min(max($,0.0),1.0)",
"-($)",
};