Fixes Texture2dParameter node filter option
This bug was appending 2 colons in the generated code. Fixed it.
This commit is contained in:
parent
e38686f85b
commit
92fe4bb693
1 changed files with 2 additions and 0 deletions
|
@ -6346,6 +6346,7 @@ String get_sampler_hint(VisualShaderNodeTextureParameter::TextureType p_texture_
|
|||
if (!repeat_code.is_empty()) {
|
||||
if (!has_colon) {
|
||||
code += " : ";
|
||||
has_colon = true;
|
||||
} else {
|
||||
code += ", ";
|
||||
}
|
||||
|
@ -6353,6 +6354,7 @@ String get_sampler_hint(VisualShaderNodeTextureParameter::TextureType p_texture_
|
|||
}
|
||||
}
|
||||
|
||||
// source
|
||||
{
|
||||
String source_code;
|
||||
|
||||
|
|
Loading…
Reference in a new issue