🔥 Remove incorrect assert on path segment helper

This commit is contained in:
Andrey Antukh 2025-06-20 08:01:59 +02:00
parent 0f46efc117
commit 520ea0e094

View file

@ -470,8 +470,6 @@
"Given a content and a set of points return all the segments in the path "Given a content and a set of points return all the segments in the path
that uses the points" that uses the points"
[content points] [content points]
(assert (impl/path-data? content) "expected path data instance")
(let [point-set (set points)] (let [point-set (set points)]
(loop [result (transient []) (loop [result (transient [])
prev-point nil prev-point nil