mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix _get_description param name (visual shaders)
This commit is contained in:
parent
0d37f198f5
commit
ac4e6f0041
2 changed files with 5 additions and 5 deletions
|
@ -230,11 +230,11 @@ void VisualShaderEditor::_update_custom_nodes() {
|
|||
}
|
||||
}
|
||||
|
||||
String VisualShaderEditor::_get_description(int i) {
|
||||
if (add_options[i].highend) {
|
||||
return TTR("(GLES3 only)") + " " + add_options[i].description; // TODO: change it to (Vulkan Only) when its ready
|
||||
String VisualShaderEditor::_get_description(int p_idx) {
|
||||
if (add_options[p_idx].highend) {
|
||||
return TTR("(GLES3 only)") + " " + add_options[p_idx].description; // TODO: change it to (Vulkan Only) when its ready
|
||||
} else {
|
||||
return add_options[i].description;
|
||||
return add_options[p_idx].description;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue