Merge pull request #6197 from neikeq/pr-docs-reg-5919
DocData: Fix duplicated parenthesis for default values
This commit is contained in:
commit
61cb8fd76c
1 changed files with 8 additions and 6 deletions
|
@ -276,14 +276,9 @@ void DocData::generate(bool p_basic_types) {
|
|||
default_arg_text=Variant::get_type_name(default_arg.get_type())+"("+default_arg_text+")";
|
||||
break;
|
||||
|
||||
case Variant::VECTOR2: // 5
|
||||
case Variant::RECT2:
|
||||
case Variant::VECTOR3:
|
||||
case Variant::PLANE:
|
||||
case Variant::QUAT:
|
||||
case Variant::_AABB: //sorry naming convention fail :( not like it's used often // 10
|
||||
case Variant::MATRIX3:
|
||||
case Variant::COLOR:
|
||||
case Variant::PLANE:
|
||||
case Variant::RAW_ARRAY:
|
||||
case Variant::INT_ARRAY:
|
||||
case Variant::REAL_ARRAY:
|
||||
|
@ -293,6 +288,13 @@ void DocData::generate(bool p_basic_types) {
|
|||
case Variant::COLOR_ARRAY:
|
||||
default_arg_text=Variant::get_type_name(default_arg.get_type())+"("+default_arg_text+")";
|
||||
break;
|
||||
case Variant::VECTOR2: // 5
|
||||
case Variant::RECT2:
|
||||
case Variant::VECTOR3:
|
||||
case Variant::QUAT:
|
||||
case Variant::MATRIX3:
|
||||
default_arg_text=Variant::get_type_name(default_arg.get_type())+default_arg_text;
|
||||
break;
|
||||
case Variant::OBJECT:
|
||||
case Variant::INPUT_EVENT:
|
||||
case Variant::DICTIONARY: // 20
|
||||
|
|
Loading…
Reference in a new issue