Skip to content

Commit

Permalink
Fixes Texture2dParameter node filter option
Browse files Browse the repository at this point in the history
This bug was appending 2 colons in the generated code.  Fixed it.
  • Loading branch information
biswas08433 committed Nov 11, 2023
1 parent e38686f commit 92fe4bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/resources/visual_shader_nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6346,13 +6346,15 @@ String get_sampler_hint(VisualShaderNodeTextureParameter::TextureType p_texture_
if (!repeat_code.is_empty()) {
if (!has_colon) {
code += " : ";
has_colon = true;
} else {
code += ", ";
}
code += repeat_code;
}
}

// source
{
String source_code;

Expand Down

0 comments on commit 92fe4bb

Please sign in to comment.