Merge pull request #65468 from Chaosus/vs_fix

This commit is contained in:
Yuri Rubinsky 2022-09-08 15:00:24 +03:00 committed by GitHub
commit c50febf5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 503 additions and 503 deletions

File diff suppressed because it is too large Load diff

View file

@ -312,10 +312,10 @@ class VisualShaderEditor : public VBoxContainer {
bool is_custom = false;
int temp_idx = 0;
AddOption(const String &p_name = String(), const String &p_category = String(), const String &p_sub_category = String(), const String &p_type = String(), const String &p_description = String(), const Vector<Variant> &p_ops = Vector<Variant>(), int p_return_type = -1, int p_mode = -1, int p_func = -1, bool p_highend = false) {
AddOption(const String &p_name = String(), const String &p_category = String(), const String &p_type = String(), const String &p_description = String(), const Vector<Variant> &p_ops = Vector<Variant>(), int p_return_type = -1, int p_mode = -1, int p_func = -1, bool p_highend = false) {
name = p_name;
type = p_type;
category = p_category + "/" + p_sub_category;
category = p_category;
description = p_description;
ops = p_ops;
return_type = p_return_type;