summaryrefslogtreecommitdiffstats
path: root/servers/rendering/storage/variant_converters.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-03 12:25:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-03 12:25:26 +0200
commit03e6fbb010c3546593bd91a0dabc045a9882705a (patch)
tree3fecc6c86700d555245a71ac2b6421c5296a3132 /servers/rendering/storage/variant_converters.h
parentd898f37e35ac4966fc7d54a009d05181fd3b232e (diff)
parentf9b488508ccc294db03d427c15c182864fae74de (diff)
downloadredot-engine-03e6fbb010c3546593bd91a0dabc045a9882705a.tar.gz
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
Diffstat (limited to 'servers/rendering/storage/variant_converters.h')
-rw-r--r--servers/rendering/storage/variant_converters.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/rendering/storage/variant_converters.h b/servers/rendering/storage/variant_converters.h
index 7dbdb0f517..cee663e878 100644
--- a/servers/rendering/storage/variant_converters.h
+++ b/servers/rendering/storage/variant_converters.h
@@ -239,7 +239,8 @@ inline bool is_convertible_array(Variant::Type type) {
return type == Variant::ARRAY ||
type == Variant::PACKED_VECTOR2_ARRAY ||
type == Variant::PACKED_VECTOR3_ARRAY ||
- type == Variant::PACKED_COLOR_ARRAY;
+ type == Variant::PACKED_COLOR_ARRAY ||
+ type == Variant::PACKED_VECTOR4_ARRAY;
}
template <typename, typename = void>