0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🐛 Fix problem with bool to path on svg shapes

This commit is contained in:
alonso.torres 2024-01-15 14:10:51 +01:00
parent aa7e70141c
commit e8b4389a1a

View file

@ -7,6 +7,7 @@
(ns app.common.geom.shapes.bool (ns app.common.geom.shapes.bool
(:require (:require
[app.common.data :as d] [app.common.data :as d]
[app.common.files.helpers :as cpf]
[app.common.svg.path.bool :as pb] [app.common.svg.path.bool :as pb]
[app.common.svg.path.shapes-to-path :as stp])) [app.common.svg.path.shapes-to-path :as stp]))
@ -16,6 +17,7 @@
(let [extract-content-xf (let [extract-content-xf
(comp (map (d/getf objects)) (comp (map (d/getf objects))
(filter (comp not :hidden)) (filter (comp not :hidden))
(remove cpf/svg-raw-shape?)
(map #(stp/convert-to-path % objects)) (map #(stp/convert-to-path % objects))
(map :content)) (map :content))