From 6dbfc1bbe3f9d679e3e9792f3b11c8c86c8abb9e Mon Sep 17 00:00:00 2001 From: csmartdalton Date: Sat, 21 Dec 2024 00:15:08 +0000 Subject: [PATCH] Fix straight lines being detected as cusps The math for cusp detection on lines was getting unstable on legitimate lines with no inflections. Check if the points in the line are ordered first (and therefore definitely do not have cusps) before running through the math. Diffs= 4f4e07a68b Fix straight lines being detected as cusps (#8790) --- .rive_head | 2 +- submodules/rive-cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 25b1ab7..133ae8e 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -11d4e46498b239fd56c15edcfe2c9d3e752e12cc +4f4e07a68b9e9979532fcc932ced558f3f8e1047 diff --git a/submodules/rive-cpp b/submodules/rive-cpp index 4356a5c..b0a72f3 160000 --- a/submodules/rive-cpp +++ b/submodules/rive-cpp @@ -1 +1 @@ -Subproject commit 4356a5c53d50ada7e4696e5507977d14cc8b2a8e +Subproject commit b0a72f3d7fb4cf4648b233b7b3d6e358c1566d81