From 06fca600d673f38ecdcd630a43c7825beb5bc698 Mon Sep 17 00:00:00 2001 From: bodymovin Date: Sat, 8 Feb 2025 04:18:30 +0000 Subject: [PATCH] change lerp the previous lerp implementation could cause in certain scenarios that if t = 1, the output would be different than the input. Because of floating point precision, `a - (b - a)` wasn't guaranteed to return `b`. Down the line, when using trim paths for example, this small difference could cause the path not to draw properly. Changing it to this implementation solves the issue. Diffs= 1be3488d52 change lerp (#9000) --- .rive_head | 2 +- submodules/rive-runtime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index ca3460e0..955614e5 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -19b64a2c1bbe9d0e1e7166b3290e34e3e291b018 +1be3488d52ec4c2f32a03eb111afca5b1f01ecd8 diff --git a/submodules/rive-runtime b/submodules/rive-runtime index 20768e27..2db93d8b 160000 --- a/submodules/rive-runtime +++ b/submodules/rive-runtime @@ -1 +1 @@ -Subproject commit 20768e27bcaf1e31f9bb8f71acb3e8a724530423 +Subproject commit 2db93d8bfa17fb4572b9276797aeddd4d6305b6a