Fix an assert in contour_measure.cpp Since fp32 has finite precision, a segment may reasonably become degenerate with length 0, and we need to be robust enough to handle this. Asserting that the distance is non-negative is still a good test. Fixes #7210. Diffs= 806ae1fae Fix an assert in contour_measure.cpp (#7232)
diff --git a/.rive_head b/.rive_head index 9faac26..42e7060 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -7d03c3fafeefd05513c4a418f320322ecd1c1e4e +806ae1faea4cc10452c76a4ce2b35f2ca12aa469
diff --git a/submodules/rive-cpp b/submodules/rive-cpp index 49a9ac5..8e68ab7 160000 --- a/submodules/rive-cpp +++ b/submodules/rive-cpp
@@ -1 +1 @@ -Subproject commit 49a9ac541a9be88733f5d0ed492ed5cffe3f2384 +Subproject commit 8e68ab77876153a04d8e53a9b11f30c2582418ae