mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
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
@ -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 New Issue
Block a user