diff --git a/doc/classes/AABB.xml b/doc/classes/AABB.xml index 6e4a4a2145a..db880efaf24 100644 --- a/doc/classes/AABB.xml +++ b/doc/classes/AABB.xml @@ -226,11 +226,6 @@ - - - - - @@ -246,11 +241,6 @@ Inversely transforms (multiplies) the [AABB] by the given [Transform3D] transformation matrix. - - - - - diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 6852fb52288..68cb6152096 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -509,11 +509,6 @@ - - - - - @@ -538,11 +533,6 @@ - - - - - diff --git a/doc/classes/Basis.xml b/doc/classes/Basis.xml index f31e9626327..3b703884a54 100644 --- a/doc/classes/Basis.xml +++ b/doc/classes/Basis.xml @@ -223,11 +223,6 @@ - - - - - @@ -264,11 +259,6 @@ This operator multiplies all components of the [Basis], which scales it uniformly. - - - - - diff --git a/doc/classes/Callable.xml b/doc/classes/Callable.xml index 7c7e37d0a58..efe3e3d091e 100644 --- a/doc/classes/Callable.xml +++ b/doc/classes/Callable.xml @@ -148,11 +148,6 @@ - - - - - @@ -160,11 +155,6 @@ Returns [code]true[/code] if both [Callable]s invoke different targets. - - - - - diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index bc0baf42c94..70831570817 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -913,11 +913,6 @@ - - - - - @@ -982,11 +977,6 @@ Divides each component of the [Color] by the given [int]. - - - - - diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index ab04366eb79..8ee09ba8f83 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -305,22 +305,12 @@ - - - - - - - - - - diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 7d5e8445503..3319e5d822d 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -171,22 +171,12 @@ - - - - - - - - - - diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index be51b1dcf8c..a0e67bfa633 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -416,11 +416,6 @@ - - - - - @@ -433,11 +428,6 @@ - - - - - diff --git a/doc/classes/PackedColorArray.xml b/doc/classes/PackedColorArray.xml index f98c5c37e47..d1a00b32b1a 100644 --- a/doc/classes/PackedColorArray.xml +++ b/doc/classes/PackedColorArray.xml @@ -152,11 +152,6 @@ - - - - - @@ -169,11 +164,6 @@ - - - - - diff --git a/doc/classes/PackedFloat32Array.xml b/doc/classes/PackedFloat32Array.xml index 393af5f6c45..b3510583463 100644 --- a/doc/classes/PackedFloat32Array.xml +++ b/doc/classes/PackedFloat32Array.xml @@ -155,11 +155,6 @@ - - - - - @@ -172,11 +167,6 @@ - - - - - diff --git a/doc/classes/PackedFloat64Array.xml b/doc/classes/PackedFloat64Array.xml index 5a80d7b2e9c..b4ffa295bd8 100644 --- a/doc/classes/PackedFloat64Array.xml +++ b/doc/classes/PackedFloat64Array.xml @@ -155,11 +155,6 @@ - - - - - @@ -172,11 +167,6 @@ - - - - - diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index 17085a9626c..b34deb518ae 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -155,11 +155,6 @@ - - - - - @@ -172,11 +167,6 @@ - - - - - diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index 066bc05f54d..6a99db778c9 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -155,11 +155,6 @@ - - - - - @@ -172,11 +167,6 @@ - - - - - diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml index 3cf43ecb286..29c72f62de9 100644 --- a/doc/classes/PackedStringArray.xml +++ b/doc/classes/PackedStringArray.xml @@ -153,11 +153,6 @@ - - - - - @@ -170,11 +165,6 @@ - - - - - diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index 9abc3667028..cd78f295950 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -153,11 +153,6 @@ - - - - - @@ -176,11 +171,6 @@ - - - - - diff --git a/doc/classes/PackedVector3Array.xml b/doc/classes/PackedVector3Array.xml index ff9fc6a757c..9ae4073fdf6 100644 --- a/doc/classes/PackedVector3Array.xml +++ b/doc/classes/PackedVector3Array.xml @@ -152,11 +152,6 @@ - - - - - @@ -175,11 +170,6 @@ - - - - - diff --git a/doc/classes/Plane.xml b/doc/classes/Plane.xml index f037b0bf1ea..a42ceba7770 100644 --- a/doc/classes/Plane.xml +++ b/doc/classes/Plane.xml @@ -171,11 +171,6 @@ - - - - - @@ -184,11 +179,6 @@ [b]Note:[/b] Due to floating-point precision errors, consider using [method is_equal_approx] instead, which is more reliable. - - - - - diff --git a/doc/classes/Quaternion.xml b/doc/classes/Quaternion.xml index c94b649b588..8a440d9024e 100644 --- a/doc/classes/Quaternion.xml +++ b/doc/classes/Quaternion.xml @@ -186,11 +186,6 @@ - - - - - @@ -255,11 +250,6 @@ Divides each component of the [Quaternion] by the given value. This operation is not meaningful on its own, but it can be used as a part of a larger expression. - - - - - diff --git a/doc/classes/RID.xml b/doc/classes/RID.xml index 6888c1f56ce..39be605e1b4 100644 --- a/doc/classes/RID.xml +++ b/doc/classes/RID.xml @@ -38,11 +38,6 @@ - - - - - @@ -61,11 +56,6 @@ - - - - - diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index a975382bfa7..e4b66a9d539 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -187,11 +187,6 @@ - - - - - @@ -207,11 +202,6 @@ Inversely transforms (multiplies) the [Rect2] by the given [Transform2D] transformation matrix. - - - - - diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml index 49fdd8e7e82..c9ae685a153 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -176,11 +176,6 @@ - - - - - @@ -188,11 +183,6 @@ Returns [code]true[/code] if the rectangles are not equal. - - - - - diff --git a/doc/classes/Signal.xml b/doc/classes/Signal.xml index 1b67900607f..c5855e30a44 100644 --- a/doc/classes/Signal.xml +++ b/doc/classes/Signal.xml @@ -97,22 +97,12 @@ - - - - - - - - - - diff --git a/doc/classes/String.xml b/doc/classes/String.xml index d85e521f086..ea0bd2adb1e 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -863,11 +863,6 @@ - - - - - @@ -904,11 +899,6 @@ - - - - - diff --git a/doc/classes/StringName.xml b/doc/classes/StringName.xml index ee76c8abcc1..ffa12275000 100644 --- a/doc/classes/StringName.xml +++ b/doc/classes/StringName.xml @@ -33,11 +33,6 @@ - - - - - @@ -62,11 +57,6 @@ - - - - - diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 6c0c3032ecf..3ad21ee8096 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -204,11 +204,6 @@ - - - - - @@ -259,11 +254,6 @@ This operator multiplies all components of the [Transform2D], including the origin vector, which scales it uniformly. - - - - - diff --git a/doc/classes/Transform3D.xml b/doc/classes/Transform3D.xml index 67e70f30e43..5a72dc223c9 100644 --- a/doc/classes/Transform3D.xml +++ b/doc/classes/Transform3D.xml @@ -146,11 +146,6 @@ - - - - - @@ -201,11 +196,6 @@ This operator multiplies all components of the [Transform3D], including the origin vector, which scales it uniformly. - - - - - diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index a39ddb81871..f9ef126658e 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -357,11 +357,6 @@ - - - - - @@ -459,11 +454,6 @@ Compares two [Vector2] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors. This operator is useful for sorting vectors. - - - - - diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index 9b41e01c25f..28d68b6e449 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -131,11 +131,6 @@ - - - - - @@ -251,11 +246,6 @@ Compares two [Vector2i] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors. This operator is useful for sorting vectors. - - - - - diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index ec695f41c15..1653b660031 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -358,11 +358,6 @@ - - - - - @@ -474,11 +469,6 @@ Compares two [Vector3] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. - - - - - diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index e486d7cfec4..4c7f3badc5f 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -138,11 +138,6 @@ - - - - - @@ -258,11 +253,6 @@ Compares two [Vector3i] vectors by first checking if the X value of the left vector is less than or equal to the X value of the [code]right[/code] vector. If the X values are exactly equal, then it repeats this check with the Y values of the two vectors, and then with the Z values. This operator is useful for sorting vectors. - - - - - diff --git a/doc/classes/bool.xml b/doc/classes/bool.xml index 6b1243b8c02..374b7036367 100644 --- a/doc/classes/bool.xml +++ b/doc/classes/bool.xml @@ -121,11 +121,6 @@ - - - - - @@ -140,12 +135,6 @@ Returns [code]true[/code] if the left operand is [code]false[/code] and the right operand is [code]true[/code]. - - - - Returns [code]true[/code] if two bools are equal, i.e. both are [code]true[/code] or both are [code]false[/code]. - - diff --git a/doc/classes/float.xml b/doc/classes/float.xml index 1fe234c567b..50961f9c7f0 100644 --- a/doc/classes/float.xml +++ b/doc/classes/float.xml @@ -42,11 +42,6 @@ - - - - - @@ -199,11 +194,6 @@ Returns [code]true[/code] if this [float] is less than or equal to the given [int]. - - - - - diff --git a/doc/classes/int.xml b/doc/classes/int.xml index eac7ee8dfdf..609291b69c6 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -68,11 +68,6 @@ - - - - - @@ -271,11 +266,6 @@ Returns [code]true[/code] the left integer is less than or equal to the right one. - - - - - diff --git a/editor/doc_tools.cpp b/editor/doc_tools.cpp index a9d18e9dcca..adad8fdba8a 100644 --- a/editor/doc_tools.cpp +++ b/editor/doc_tools.cpp @@ -685,6 +685,11 @@ void DocTools::generate(bool p_basic_types) { for (int j = 0; j < Variant::OP_AND; j++) { // Showing above 'and' is pretty confusing and there are a lot of variations. for (int k = 0; k < Variant::VARIANT_MAX; k++) { + // Prevent generating for comparison with null. + if (Variant::Type(k) == Variant::NIL && (Variant::Operator(j) == Variant::OP_EQUAL || Variant::Operator(j) == Variant::OP_NOT_EQUAL)) { + continue; + } + Variant::Type rt = Variant::get_operator_return_type(Variant::Operator(j), Variant::Type(i), Variant::Type(k)); if (rt != Variant::NIL) { // Has operator. // Skip String % operator as it's registered separately for each Variant arg type,