diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-09-23 10:24:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 10:24:46 +0200 |
commit | 006e345695a0448acefd63dcb726a07b63cb1d0d (patch) | |
tree | 78e020ad93b2525718e1d65999d853442f2a870c /core/variant/variant_construct.cpp | |
parent | 03410efa15b88fc1e55476efb6b47d5079d34c96 (diff) | |
parent | 163257d51bd103588da246d39ab5d10afaf15c09 (diff) | |
download | redot-engine-006e345695a0448acefd63dcb726a07b63cb1d0d.tar.gz |
Merge pull request #65817 from bruvzg/typed_array
Diffstat (limited to 'core/variant/variant_construct.cpp')
-rw-r--r-- | core/variant/variant_construct.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp index d048f45737..3b88dc11ca 100644 --- a/core/variant/variant_construct.cpp +++ b/core/variant/variant_construct.cpp @@ -200,6 +200,7 @@ void Variant::_register_variant_constructors() { add_constructor<VariantConstructNoArgs<Array>>(sarray()); add_constructor<VariantConstructor<Array, Array>>(sarray("from")); + add_constructor<VariantConstructorTypedArray>(sarray("base", "type", "class_name", "script")); add_constructor<VariantConstructorToArray<PackedByteArray>>(sarray("from")); add_constructor<VariantConstructorToArray<PackedInt32Array>>(sarray("from")); add_constructor<VariantConstructorToArray<PackedInt64Array>>(sarray("from")); |