From 48033a2d22481b6f9f779ea0bfab23620180f7cf Mon Sep 17 00:00:00 2001 From: susan101566 Date: Tue, 25 Feb 2025 18:45:05 +0000 Subject: [PATCH] editor+runtime: allow setting tolerance to path measure Before this PR, sometimes the movement on a path can be choppy, and this is noticeable everywhere I tested on mac, web, runtime: https://github.com/user-attachments/assets/a396544a-40c1-4921-be11-01c978f50b4a https://github.com/user-attachments/assets/78c54a00-b82f-42fe-ab85-f87961cccd62 This is because the default tolerance on the path measure is 0.5, which is too high. Making this 0.1 is smoother (tho probably less performant). I only changed this for text follow path, because it's more noticeable there. After, on mac, web, runtime: https://github.com/user-attachments/assets/99db7f81-27f6-46a9-b70c-bfe8ecb59933 https://github.com/user-attachments/assets/34b65a34-ff9e-40a0-a7c1-827146609d03 https://github.com/user-attachments/assets/be224730-dfba-4b1b-8d8a-c08dd48d8fa7 Diffs= cfde2d5136 editor+runtime: allow setting tolerance to path measure (#9102) --- .rive_head | 2 +- wasm/submodules/rive-runtime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index f208ea91..4db4389f 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -2e739a03582570fdcd70bb46588168b578ede8d2 +cfde2d5136e3fef2a27409c25fc002cbefe50398 diff --git a/wasm/submodules/rive-runtime b/wasm/submodules/rive-runtime index c890ecd9..b9e3e3f8 160000 --- a/wasm/submodules/rive-runtime +++ b/wasm/submodules/rive-runtime @@ -1 +1 @@ -Subproject commit c890ecd9316de4201de32d263eeab44e520f3617 +Subproject commit b9e3e3f839a6eeb3f965af83f20592e734997405