summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-08-24 11:19:41 +0300
committerGitHub <noreply@github.com>2022-08-24 11:19:41 +0300
commit0626ce50cfd35d1eb81c6c9627f8540be9636b4b (patch)
tree6aaefc206eab7ebfd23331ca7be6a81c6c86a6af /core
parent629949d0a506c11103203f2821834b81b7371a40 (diff)
parente97ece55aa29fe510938dab6af82ef5bb27912d0 (diff)
Merge pull request #64794 from Chaosus/projection_constructor
Diffstat (limited to 'core')
-rw-r--r--core/variant/variant_construct.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp
index 3a0b6c1bb9..d048f45737 100644
--- a/core/variant/variant_construct.cpp
+++ b/core/variant/variant_construct.cpp
@@ -162,6 +162,7 @@ void Variant::_register_variant_constructors() {
add_constructor<VariantConstructNoArgs<Projection>>(sarray());
add_constructor<VariantConstructor<Projection, Projection>>(sarray("from"));
add_constructor<VariantConstructor<Projection, Transform3D>>(sarray("from"));
+ add_constructor<VariantConstructor<Projection, Vector4, Vector4, Vector4, Vector4>>(sarray("x_axis", "y_axis", "z_axis", "w_axis"));
add_constructor<VariantConstructNoArgs<Color>>(sarray());
add_constructor<VariantConstructor<Color, Color>>(sarray("from"));