From 808f157b266f22ebf8223913feefafe68bc0597d Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 7 Oct 2022 03:09:38 +0200 Subject: [PATCH] Added nissing projection * projection Variant operator. --- core/variant/variant_op.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index 269fe630c..01ed80753 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -1114,6 +1114,9 @@ void Variant::evaluate(const Operator &p_op, const Variant &p_a, case PLANE: { _RETURN(p_a._data._projection->xform(*(const Plane *)p_b._data._mem)); } + case PROJECTION: { + _RETURN(p_a._data._projection->operator*(*(const Projection *)p_b._data._mem)); + } default: _RETURN_FAIL; }