From d7d130295ecf3f5c97b4db8d5813ea7ab17dc871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Tue, 1 Nov 2022 20:49:52 +0100 Subject: Support for checking that Projection is(not) null --- core/variant/variant_op.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/variant') diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index 301fd00d26..4c6ee8df1b 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -561,6 +561,7 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_EQUAL, Variant::AABB, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::BASIS, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::TRANSFORM3D, Variant::NIL); + register_op>(Variant::OP_EQUAL, Variant::PROJECTION, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::COLOR, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::STRING_NAME, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::NODE_PATH, Variant::NIL); @@ -597,6 +598,7 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::AABB); register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::BASIS); register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::TRANSFORM3D); + register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::PROJECTION); register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::COLOR); register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::STRING_NAME); register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::NODE_PATH); @@ -682,6 +684,7 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_NOT_EQUAL, Variant::AABB, Variant::NIL); register_op>(Variant::OP_NOT_EQUAL, Variant::BASIS, Variant::NIL); register_op>(Variant::OP_NOT_EQUAL, Variant::TRANSFORM3D, Variant::NIL); + register_op>(Variant::OP_NOT_EQUAL, Variant::PROJECTION, Variant::NIL); register_op>(Variant::OP_NOT_EQUAL, Variant::COLOR, Variant::NIL); register_op>(Variant::OP_NOT_EQUAL, Variant::STRING_NAME, Variant::NIL); register_op>(Variant::OP_NOT_EQUAL, Variant::NODE_PATH, Variant::NIL); @@ -718,6 +721,7 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::AABB); register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::BASIS); register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::TRANSFORM3D); + register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::PROJECTION); register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::COLOR); register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::STRING_NAME); register_op>(Variant::OP_NOT_EQUAL, Variant::NIL, Variant::NODE_PATH); -- cgit v1.2.3