diff options
author | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-10-09 19:24:26 +0900 |
---|---|---|
committer | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-12-25 03:24:04 +0900 |
commit | 61759da5b35e44003ab3ffe3d4024dd611d17eff (patch) | |
tree | 8ffa512d0bcc5324ece5b279303d14cd2de8355b /core/variant | |
parent | 42f8bfaff0dc5a94ca351b1eaadc42cb95655b87 (diff) |
Fix some gizmo behavior to make more consistent
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_setget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp index 2530d77c62..c98dbfdb23 100644 --- a/core/variant/variant_setget.cpp +++ b/core/variant/variant_setget.cpp @@ -2120,7 +2120,7 @@ void Variant::interpolate(const Variant &a, const Variant &b, float c, Variant & } return; case BASIS: { - r_dst = Transform3D(*a._data._basis).interpolate_with(Transform3D(*b._data._basis), c).basis; + r_dst = a._data._basis->lerp(*b._data._basis, c); } return; case TRANSFORM3D: { |