Legacy .ai export writes Intertwine groups as their art (#2095)

This commit is contained in:
bflatastic
2026-10-16 04:44:54 +07:00
parent 5e75d26d29
commit 9eddeeb952
+7 -2
View File
@@ -91,7 +91,7 @@ const FREEFORM: &str = "freeform gradients are written as their average colour";
const STROKES: &str =
"strokes a plain line can't draw (inside or outside the path, variable width, gradients, brushes, arrowheads) are written as filled outlines";
const IMAGE_ALPHA: &str = "transparent image pixels are written over white";
const LIVE: &str = "symbols, blends, envelopes, meshes, repeats and placed documents are written as their art";
const LIVE: &str = "symbols, blends, envelopes, meshes, repeats, placed documents and intertwines are written as their art";
const UNREADABLE_IMAGE: &str = "an image that can't be decoded or is too large was left out";
const ELLIPTICAL: &str = "elliptical radial gradients are written circular";
@@ -605,7 +605,12 @@ impl<'a> Writer<'a> {
self.nest -= 1;
}
}
NodeKind::Blend { .. } | NodeKind::Envelope { .. } | NodeKind::Mesh(_) | NodeKind::Repeat(_) | NodeKind::PlacedDocument(_) => {
NodeKind::Blend { .. }
| NodeKind::Envelope { .. }
| NodeKind::Mesh(_)
| NodeKind::Repeat(_)
| NodeKind::PlacedDocument(_)
| NodeKind::Intertwine { .. } => {
self.warn(LIVE);
if self.nest < MAX_NEST {
let g = vectorcraft_effects::expand_live_deep(Some(self.doc), n);