Merge pull request #84768 from biswas08433/master

Fix VisualShader Texture2DParameter node filter bug
This commit is contained in:
Rémi Verschelde 2023-11-11 23:06:47 +01:00
commit 89f2f7f278
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -6346,6 +6346,7 @@ String get_sampler_hint(VisualShaderNodeTextureParameter::TextureType p_texture_
if (!repeat_code.is_empty()) { if (!repeat_code.is_empty()) {
if (!has_colon) { if (!has_colon) {
code += " : "; code += " : ";
has_colon = true;
} else { } else {
code += ", "; code += ", ";
} }
@ -6353,6 +6354,7 @@ String get_sampler_hint(VisualShaderNodeTextureParameter::TextureType p_texture_
} }
} }
// source
{ {
String source_code; String source_code;