summaryrefslogtreecommitdiff
path: root/core/variant/variant_setget.cpp
diff options
context:
space:
mode:
authorJulien Nguyen <julien.nguyen3@gmail.com>2021-04-12 23:33:06 +0200
committerJulien Nguyen <julien.nguyen3@gmail.com>2021-04-12 23:33:06 +0200
commit026b8497d1e06697da622cc04898130e0b47b447 (patch)
tree87153419f153755353b61cf0626e699a4487b644 /core/variant/variant_setget.cpp
parent7d70cdc6ccbea0cca2619a8790e097724e8e5f18 (diff)
Fix PackedFloat32Array get index not working
Diffstat (limited to 'core/variant/variant_setget.cpp')
-rw-r--r--core/variant/variant_setget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp
index f319631ce5..9ab8602782 100644
--- a/core/variant/variant_setget.cpp
+++ b/core/variant/variant_setget.cpp
@@ -1045,6 +1045,7 @@ void register_indexed_setters_getters() {
REGISTER_INDEXED_MEMBER(PackedByteArray);
REGISTER_INDEXED_MEMBER(PackedInt32Array);
REGISTER_INDEXED_MEMBER(PackedInt64Array);
+ REGISTER_INDEXED_MEMBER(PackedFloat32Array);
REGISTER_INDEXED_MEMBER(PackedFloat64Array);
REGISTER_INDEXED_MEMBER(PackedVector2Array);
REGISTER_INDEXED_MEMBER(PackedVector3Array);