From d19e6f11e9b68c01b223572963b71897c4a38e2b Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 27 May 2023 13:58:49 +0200 Subject: [PATCH] Fix compile error. --- core/variant/variant_op.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index d74c50489..8574b2aa6 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -5756,7 +5756,7 @@ void Variant::interpolate(const Variant &a, const Variant &b, float c, Variant & PoolVector::Read br = arr_b->read(); for (int i = 0; i < sz; i++) { - vw[i] = ar[i].lerp(br[i], c); + vw[i] = ar[i].linear_interpolate(br[i], c); } } r_dst = v;