From 201d606b3d348c3287f3d57d25e6eced298c2df5 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 25 Jun 2020 10:33:28 -0300 Subject: Addition of SDFGI for open world global illumination Move GI to a deferred pass --- core/variant_op.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/variant_op.cpp') diff --git a/core/variant_op.cpp b/core/variant_op.cpp index 2c79e2029e..0c9a4a992a 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -1786,6 +1786,7 @@ Variant Variant::get_named(const StringName &p_index, bool *r_valid) const { if (r_valid) { *r_valid = true; } + switch (type) { case VECTOR2: { const Vector2 *v = reinterpret_cast(_data._mem); -- cgit v1.2.3