Merge pull request #83202 from Repiteo/vector4-projection-marshall-fix

Add missing double-precision flag for Vector4 & Projection in `encode_variant`
This commit is contained in:
Rémi Verschelde 2023-10-13 11:45:33 +02:00
commit b174f11e0a
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1155,10 +1155,12 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo
#ifdef REAL_T_IS_DOUBLE
case Variant::VECTOR2:
case Variant::VECTOR3:
case Variant::VECTOR4:
case Variant::PACKED_VECTOR2_ARRAY:
case Variant::PACKED_VECTOR3_ARRAY:
case Variant::TRANSFORM2D:
case Variant::TRANSFORM3D:
case Variant::PROJECTION:
case Variant::QUATERNION:
case Variant::PLANE:
case Variant::BASIS: