From d002983f46dbd3870ca854a9c2e04e6d4e856065 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 14 Nov 2026 04:26:53 -0800 Subject: [PATCH] Concept to Vector: results keep out of a group or layer with effects of its own - conceptVector.insert puts the groups above the outermost group around the image that has effects or fills and strokes of its own, so the group and the point its effects measure from stay as they are. Before, the groups went into it, and a centered Transform effect then moved the image and the group's other members. - An image on a layer with effects of its own is refused with an error and nothing changes, as for a layer with a clipping or opacity mask. The message has a row in every catalog that holds those two. Docs: docs/mcp.md and the params text. --- crates/engine/src/cmd/conceptvector.rs | 15 ++++++++---- crates/engine/src/concept_vector/tests.rs | 30 +++++++++++++++++++++++ crates/ui-egui/src/i18n/ca.tsv | 1 + crates/ui-egui/src/i18n/cs.tsv | 1 + crates/ui-egui/src/i18n/de.tsv | 1 + crates/ui-egui/src/i18n/el.tsv | 1 + crates/ui-egui/src/i18n/es.tsv | 1 + crates/ui-egui/src/i18n/fi.tsv | 1 + crates/ui-egui/src/i18n/fr.tsv | 1 + crates/ui-egui/src/i18n/hi.tsv | 1 + crates/ui-egui/src/i18n/hu.tsv | 1 + crates/ui-egui/src/i18n/it.tsv | 1 + crates/ui-egui/src/i18n/ja.tsv | 1 + crates/ui-egui/src/i18n/ka.tsv | 1 + crates/ui-egui/src/i18n/ko.tsv | 1 + crates/ui-egui/src/i18n/pl.tsv | 1 + crates/ui-egui/src/i18n/pt-br.tsv | 1 + crates/ui-egui/src/i18n/ru.tsv | 1 + crates/ui-egui/src/i18n/sv.tsv | 1 + crates/ui-egui/src/i18n/tr.tsv | 1 + crates/ui-egui/src/i18n/uk.tsv | 1 + crates/ui-egui/src/i18n/vi.tsv | 1 + crates/ui-egui/src/i18n/zh-hans.tsv | 1 + crates/ui-egui/src/i18n/zh-hant.tsv | 1 + docs/mcp.md | 7 +++--- 25 files changed, 66 insertions(+), 8 deletions(-) diff --git a/crates/engine/src/cmd/conceptvector.rs b/crates/engine/src/cmd/conceptvector.rs index 3015e118b4..344e1d0511 100644 --- a/crates/engine/src/cmd/conceptvector.rs +++ b/crates/engine/src/cmd/conceptvector.rs @@ -468,9 +468,10 @@ fn insert(s: &mut Session, p: &Value) -> Result { return Err(bad(C, LOCKED)); } // The results go above the outermost group around the image that clips or masks it, so that - // it hides none of them, and above the outermost envelope, blend, repeat or other live object - // around it, so that its content stays as it is; a layer that clips or masks its art leaves - // them nowhere to go. + // it hides none of them, and above the outermost envelope, blend, repeat or other live object, + // and the outermost group with effects or fills and strokes of its own, so that its content + // and the place its effects measure from stay as they are. A layer that clips or masks its + // art, or has effects of its own, leaves them nowhere to go. let mut anchor = source; for &id in st.doc.ancestry(source).ok_or_else(stale)?.iter().rev().skip(1) { let n = st.doc.node(id).ok_or_else(stale)?; @@ -481,8 +482,12 @@ fn insert(s: &mut Session, p: &Value) -> Result { if n.is_layer() && masked { return Err(bad(C, "the image is on a layer with an opacity mask, which would hide the results")); } + let styled = !n.appearance.items.is_empty() || !n.appearance.effects.is_empty(); + if n.is_layer() && !n.appearance.effects.is_empty() { + return Err(bad(C, "the image is on a layer with effects of its own, which would apply to the results")); + } let live = !matches!(n.kind, NodeKind::Layer { .. } | NodeKind::Group { .. }); - if !n.is_layer() && (masked || live || matches!(n.kind, NodeKind::Group { clip: true, .. })) { + if !n.is_layer() && (masked || live || styled || matches!(n.kind, NodeKind::Group { clip: true, .. })) { anchor = id; } } @@ -681,7 +686,7 @@ pub fn specs() -> Vec { "Insert Concept to Vector Styles", [], None, - "{job, variations: [style id…] (different styles of the job)} put a group of each chosen variation, named after its style and in the provider's order, in a row to the right of the job's image, each the image's size with 24 pt between them, moved further right past other visible art in their way, where a variation reaches past its box too (the next one then starts 24 pt past what it paints); the groups go above the outermost clip group or opacity-masked group around the image, and above the outermost envelope, blend, repeat or other live object around it; the image and other art stay as they are; one undo step; an error when the job's document is not the active one, the object, its image or its placement changed, the object is now locked or hidden, or it is on a layer with a clipping mask or an opacity mask → {ids: the groups, selected}", + "{job, variations: [style id…] (different styles of the job)} put a group of each chosen variation, named after its style and in the provider's order, in a row to the right of the job's image, each the image's size with 24 pt between them, moved further right past other visible art in their way, where a variation reaches past its box too (the next one then starts 24 pt past what it paints); the groups go above the outermost clip group or opacity-masked group around the image, and above the outermost envelope, blend, repeat or other live object and the outermost group with effects or fills and strokes of its own around it; the image and other art stay as they are; one undo step; an error when the job's document is not the active one, the object, its image or its placement changed, the object is now locked or hidden, or it is on a layer with a clipping mask, an opacity mask or effects of its own →{ids: the groups, selected}", has_doc, insert ), diff --git a/crates/engine/src/concept_vector/tests.rs b/crates/engine/src/concept_vector/tests.rs index 73301f4e72..8ce491dfab 100644 --- a/crates/engine/src/concept_vector/tests.rs +++ b/crates/engine/src/concept_vector/tests.rs @@ -798,6 +798,36 @@ fn insert_puts_the_results_outside_an_envelope_around_the_image() { assert!(*d.node(envelope).unwrap() == before, "the envelope is unchanged"); } +/// For an image in a group with an effect of its own, the results go beside the group, which stays +/// as it is; on a layer with an effect of its own, insert is refused and changes nothing. +#[test] +fn insert_keeps_out_of_a_group_or_layer_with_effects_of_its_own() { + let (mut s, img) = doc_with(&art()); + let other = s.execute("shape.rectangle", &json!({"x": 120, "y": 120, "width": 20, "height": 20})).unwrap()["id"].as_u64().unwrap(); + s.execute("select.set", &json!({"ids": [img.0, other]})).unwrap(); + s.execute("object.group", &json!({})).unwrap(); + let d = &s.doc().unwrap().doc; + let group = d.parent_of(img).unwrap(); + let transform = json!({"effect": "distort.transform", "params": {"scaleH": 200}, "ids": [group.0]}); + s.execute("effect.apply", &transform).unwrap(); + let d = &s.doc().unwrap().doc; + let (layer, before) = (d.parent_of(group).unwrap(), d.node(group).unwrap().clone()); + let job = generate(&mut s, json!({"provider": ID, "styles": ["outline"], "id": img.0})).unwrap()["job"].as_u64().unwrap(); + let r = s.execute("conceptVector.insert", &json!({"job": job, "variations": ["outline"]})).unwrap(); + let d = &s.doc().unwrap().doc; + assert_eq!(d.parent_of(NodeId(r["ids"][0].as_u64().unwrap())), Some(layer), "beside the group, not in it"); + assert!(*d.node(group).unwrap() == before, "the group is unchanged"); + + let (mut s, img) = doc_with(&art()); + let layer = s.doc().unwrap().doc.parent_of(img).unwrap(); + s.execute("effect.apply", &json!({"effect": "stylize.dropShadow", "ids": [layer.0]})).unwrap(); + let job = generate(&mut s, json!({"provider": ID, "styles": ["outline"], "id": img.0})).unwrap()["job"].as_u64().unwrap(); + let before = s.doc().unwrap().doc.clone(); + let e = s.execute("conceptVector.insert", &json!({"job": job, "variations": ["outline"]})).unwrap_err().to_string(); + assert!(e.contains("effects of its own"), "{e}"); + assert!(s.doc().unwrap().doc == before); +} + #[test] fn insert_puts_the_results_outside_a_clip_group_around_the_image() { let (mut s, img) = doc_with(&art()); diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index d4daa5056f..8c8a854c74 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -7503,6 +7503,7 @@ breakText Glyphs Glifs @msg there is no room for the results to the right of the image No hi ha espai per als resultats a la dreta de la imatge @msg the image is on a layer with a clipping mask, which would hide the results La imatge és en una capa amb una màscara de retall, que amagaria els resultats @msg the image is on a layer with an opacity mask, which would hide the results La imatge és en una capa amb una màscara d’opacitat, que amagaria els resultats +@msg the image is on a layer with effects of its own, which would apply to the results La imatge és en una capa amb efectes propis, que s’aplicarien també als resultats @msg `output` must be "vector" `output` ha de ser "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` no admet indicacions i només fa art vectorial @msg Making the Concept to Vector styles S’estan fent els estils de Concepte a vector diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 838dac87e5..d5f8faa1a7 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -7522,6 +7522,7 @@ breakText Glyphs Glyfy @msg there is no room for the results to the right of the image Vpravo od obrazu není pro výsledky místo @msg the image is on a layer with a clipping mask, which would hide the results Obraz je ve vrstvě s ořezovou maskou, která by výsledky skryla @msg the image is on a layer with an opacity mask, which would hide the results Obraz je ve vrstvě s maskou krytí, která by výsledky skryla +@msg the image is on a layer with effects of its own, which would apply to the results Obraz je ve vrstvě s vlastními efekty, které by se použily i na výsledky @msg `output` must be "vector" `output` musí být "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` nepřijímá výzvu a vytváří jen vektorovou grafiku @msg Making the Concept to Vector styles Vytvářejí se styly Koncept na vektor diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 54c503e733..ec6dde7394 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -7118,6 +7118,7 @@ breakText Glyphs Glyphen @msg there is no room for the results to the right of the image Rechts neben dem Bild ist kein Platz für die Ergebnisse @msg the image is on a layer with a clipping mask, which would hide the results Das Bild liegt auf einer Ebene mit Schnittmaske, die die Ergebnisse verbergen würde @msg the image is on a layer with an opacity mask, which would hide the results Das Bild liegt auf einer Ebene mit Deckkraftmaske, die die Ergebnisse verbergen würde +@msg the image is on a layer with effects of its own, which would apply to the results Das Bild liegt auf einer Ebene mit eigenen Effekten, die auch auf die Ergebnisse angewendet würden @msg `output` must be "vector" `output` muss "vector" sein @msg `{pid}` takes no prompt and makes vector art only `{pid}` nimmt keinen Prompt an und erstellt nur Vektorgrafik @msg Making the Concept to Vector styles Konzept-zu-Vektor-Stile werden erstellt diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 213539da1d..31f32e5859 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -7475,6 +7475,7 @@ breakText Glyphs Γλύφοι @msg there is no room for the results to the right of the image Δεν υπάρχει χώρος για τα αποτελέσματα δεξιά από την εικόνα @msg the image is on a layer with a clipping mask, which would hide the results Η εικόνα βρίσκεται σε επίπεδο με μάσκα αποκοπής, η οποία θα έκρυβε τα αποτελέσματα @msg the image is on a layer with an opacity mask, which would hide the results Η εικόνα βρίσκεται σε επίπεδο με μάσκα αδιαφάνειας, η οποία θα έκρυβε τα αποτελέσματα +@msg the image is on a layer with effects of its own, which would apply to the results Η εικόνα βρίσκεται σε επίπεδο με δικά του εφέ, τα οποία θα εφαρμόζονταν και στα αποτελέσματα @msg `output` must be "vector" Το `output` πρέπει να είναι "vector" @msg `{pid}` takes no prompt and makes vector art only Το `{pid}` δεν δέχεται προτροπή και δημιουργεί μόνο διανυσματικά γραφικά @msg Making the Concept to Vector styles Δημιουργία των στυλ «Από ιδέα σε διάνυσμα» diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 255f1d38cb..d167a81558 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -7466,6 +7466,7 @@ breakText Glyphs Glifos @msg there is no room for the results to the right of the image No hay espacio para los resultados a la derecha de la imagen @msg the image is on a layer with a clipping mask, which would hide the results La imagen está en una capa con una máscara de recorte, que ocultaría los resultados @msg the image is on a layer with an opacity mask, which would hide the results La imagen está en una capa con una máscara de opacidad, que ocultaría los resultados +@msg the image is on a layer with effects of its own, which would apply to the results La imagen está en una capa con efectos propios, que se aplicarían a los resultados @msg `output` must be "vector" `output` debe ser "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` no admite indicaciones y solo crea ilustraciones vectoriales @msg Making the Concept to Vector styles Creando los estilos de Concepto a vector diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 93de93c15b..e754d95971 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -7557,6 +7557,7 @@ breakText Glyphs Merkit @msg there is no room for the results to the right of the image Kuvan oikealla puolella ei ole tilaa tuloksille @msg the image is on a layer with a clipping mask, which would hide the results Kuva on tasolla, jolla on leikkausmaski, joka piilottaisi tulokset @msg the image is on a layer with an opacity mask, which would hide the results Kuva on tasolla, jolla on peittävyysmaski, joka piilottaisi tulokset +@msg the image is on a layer with effects of its own, which would apply to the results Kuva on tasolla, jolla on omia tehosteita, jotka kohdistuisivat myös tuloksiin @msg `output` must be "vector" `output` on oltava "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` ei ota kehotetta ja tekee vain vektorigrafiikkaa @msg Making the Concept to Vector styles Luodaan Konseptista vektoriksi -tyylejä diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 8dff3dd0f4..0145678763 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -7517,6 +7517,7 @@ breakText Glyphs Glyphes @msg there is no room for the results to the right of the image Il n’y a pas de place pour les résultats à droite de l’image @msg the image is on a layer with a clipping mask, which would hide the results L’image est sur un calque avec un masque d’écrêtage, qui masquerait les résultats @msg the image is on a layer with an opacity mask, which would hide the results L’image est sur un calque avec un masque d’opacité, qui masquerait les résultats +@msg the image is on a layer with effects of its own, which would apply to the results L’image est sur un calque avec ses propres effets, qui s’appliqueraient aussi aux résultats @msg `output` must be "vector" `output` doit être "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` n’accepte pas d’invite et ne crée que des illustrations vectorielles @msg Making the Concept to Vector styles Création des styles Du concept au vecteur diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 6fe72a93d7..0fd41ff646 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -8913,6 +8913,7 @@ theme Appearance अपीयरेंस @msg there is no room for the results to the right of the image इमेज के दाईं ओर परिणामों के लिए जगह नहीं है @msg the image is on a layer with a clipping mask, which would hide the results इमेज क्लिपिंग मास्क वाली लेयर पर है, जो परिणामों को छिपा देगा @msg the image is on a layer with an opacity mask, which would hide the results इमेज opacity मास्क वाली लेयर पर है, जो परिणामों को छिपा देगा +@msg the image is on a layer with effects of its own, which would apply to the results इमेज अपने इफ़ेक्ट वाली लेयर पर है, जो परिणामों पर भी लागू हो जाएँगे @msg `output` must be "vector" `output` "vector" होना चाहिए @msg `{pid}` takes no prompt and makes vector art only `{pid}` प्रॉम्प्ट नहीं लेता और केवल वेक्टर आर्ट बनाता है @msg Making the Concept to Vector styles कॉन्सेप्ट से वेक्टर स्टाइल बनाई जा रही हैं diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 9e628afd90..a65c79d641 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -7506,6 +7506,7 @@ breakText Glyphs Glifák @msg there is no room for the results to the right of the image A kép jobb oldalán nincs hely az eredményeknek @msg the image is on a layer with a clipping mask, which would hide the results A kép vágómaszkos rétegen van, amely elrejtené az eredményeket @msg the image is on a layer with an opacity mask, which would hide the results A kép átlátszósági maszkos rétegen van, amely elrejtené az eredményeket +@msg the image is on a layer with effects of its own, which would apply to the results A kép saját effektusokkal rendelkező rétegen van, amelyek az eredményekre is vonatkoznának @msg `output` must be "vector" `output`: "vector" kell @msg `{pid}` takes no prompt and makes vector art only `{pid}` nem fogad promptot, és csak vektorgrafikát készít @msg Making the Concept to Vector styles Koncepcióból vektor stílusok készítése diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 86735b4e87..c390128cce 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -7152,6 +7152,7 @@ breakText Glyphs Glifi @msg there is no room for the results to the right of the image Non c’è spazio per i risultati a destra dell’immagine @msg the image is on a layer with a clipping mask, which would hide the results L’immagine è su un livello con una maschera di ritaglio, che nasconderebbe i risultati @msg the image is on a layer with an opacity mask, which would hide the results L’immagine è su un livello con una maschera di opacità, che nasconderebbe i risultati +@msg the image is on a layer with effects of its own, which would apply to the results L’immagine è su un livello con effetti propri, che verrebbero applicati anche ai risultati @msg `output` must be "vector" `output` deve essere "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` non accetta prompt e crea solo grafica vettoriale @msg Making the Concept to Vector styles Creazione degli stili Da concetto a vettore diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index f21069d33f..6ef880f975 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -7218,6 +7218,7 @@ breakText Glyphs 字形 @msg there is no room for the results to the right of the image 画像の右側に結果を置く場所がありません @msg the image is on a layer with a clipping mask, which would hide the results 画像はクリッピングマスクのあるレイヤー上にあり、結果が隠れてしまいます @msg the image is on a layer with an opacity mask, which would hide the results 画像は不透明マスクのあるレイヤー上にあり、結果が隠れてしまいます +@msg the image is on a layer with effects of its own, which would apply to the results 画像は独自の効果を持つレイヤー上にあり、その効果が結果にも適用されてしまいます @msg `output` must be "vector" `output` には "vector" を指定してください @msg `{pid}` takes no prompt and makes vector art only `{pid}` はプロンプトを受け付けず、ベクターアートのみを作成します @msg Making the Concept to Vector styles コンセプトからベクターのスタイルを作成中 diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index 9e82fba498..382be07a17 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -7636,6 +7636,7 @@ font-script Japanese იაპონური @msg there is no room for the results to the right of the image გამოსახულების მარჯვნივ შედეგებისთვის ადგილი არ არის @msg the image is on a layer with a clipping mask, which would hide the results გამოსახულება მოჭრის ნიღბიან ფენაზეა, რომელიც შედეგებს დამალავდა @msg the image is on a layer with an opacity mask, which would hide the results გამოსახულება გაუმჭვირვალობის ნიღბიან ფენაზეა, რომელიც შედეგებს დამალავდა +@msg the image is on a layer with effects of its own, which would apply to the results გამოსახულება საკუთარი ეფექტების მქონე ფენაზეა, რომლებიც შედეგებზეც გავრცელდებოდა @msg `output` must be "vector" `output` უნდა იყოს "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` მოთხოვნას არ იღებს და მხოლოდ ვექტორულ გრაფიკას ქმნის @msg Making the Concept to Vector styles იქმნება „კონცეფციიდან ვექტორამდე“ სტილები diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index d14a990c15..53722a8a4d 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -7113,6 +7113,7 @@ breakText Glyphs 글리프 @msg there is no room for the results to the right of the image 이미지 오른쪽에 결과를 놓을 공간이 없습니다 @msg the image is on a layer with a clipping mask, which would hide the results 이미지가 클리핑 마스크가 있는 레이어에 있어 결과가 가려집니다 @msg the image is on a layer with an opacity mask, which would hide the results 이미지가 불투명 마스크가 있는 레이어에 있어 결과가 가려집니다 +@msg the image is on a layer with effects of its own, which would apply to the results 이미지가 자체 효과가 있는 레이어에 있어 그 효과가 결과에도 적용됩니다 @msg `output` must be "vector" `output`은 "vector"여야 합니다 @msg `{pid}` takes no prompt and makes vector art only `{pid}`은 프롬프트를 받지 않으며 벡터 아트만 만듭니다 @msg Making the Concept to Vector styles 콘셉트를 벡터로 스타일을 만드는 중 diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 1bb9d462b1..6b83e3fbd7 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -7379,6 +7379,7 @@ breakText Glyphs Glify @msg there is no room for the results to the right of the image Po prawej stronie obrazu nie ma miejsca na wyniki @msg the image is on a layer with a clipping mask, which would hide the results Obraz jest na warstwie z maską przycinającą, która ukryłaby wyniki @msg the image is on a layer with an opacity mask, which would hide the results Obraz jest na warstwie z maską krycia, która ukryłaby wyniki +@msg the image is on a layer with effects of its own, which would apply to the results Obraz jest na warstwie z własnymi efektami, które zostałyby zastosowane także do wyników @msg `output` must be "vector" `output` musi mieć wartość "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` nie przyjmuje promptu i tworzy tylko grafikę wektorową @msg Making the Concept to Vector styles Tworzenie stylów Koncepcja na wektor diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index 59dedd1154..ce31475023 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -7595,6 +7595,7 @@ swatch Yellow Green Verde-amarelado @msg there is no room for the results to the right of the image Não há espaço para os resultados à direita da imagem @msg the image is on a layer with a clipping mask, which would hide the results A imagem está em uma camada com máscara de corte, que ocultaria os resultados @msg the image is on a layer with an opacity mask, which would hide the results A imagem está em uma camada com máscara de opacidade, que ocultaria os resultados +@msg the image is on a layer with effects of its own, which would apply to the results A imagem está em uma camada com efeitos próprios, que seriam aplicados também aos resultados @msg `output` must be "vector" `output` deve ser "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` não aceita prompt e cria apenas arte vetorial @msg Making the Concept to Vector styles Criando os estilos de Conceito para vetor diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 6b8c12ef48..c0a41e3378 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -7611,6 +7611,7 @@ shape Open Открытый @msg there is no room for the results to the right of the image Справа от изображения нет места для результатов @msg the image is on a layer with a clipping mask, which would hide the results Изображение находится на слое с обтравочной маской, которая скрыла бы результаты @msg the image is on a layer with an opacity mask, which would hide the results Изображение находится на слое с непрозрачной маской, которая скрыла бы результаты +@msg the image is on a layer with effects of its own, which would apply to the results Изображение находится на слое с собственными эффектами, которые применились бы и к результатам @msg `output` must be "vector" `output` должно быть "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` не принимает запрос и создаёт только векторную графику @msg Making the Concept to Vector styles Создание стилей «Концепт в вектор» diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index 4abcef31c4..ff6ad4e4c9 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -8960,6 +8960,7 @@ digits Hindi Hindi @msg there is no room for the results to the right of the image Det finns ingen plats för resultaten till höger om bilden @msg the image is on a layer with a clipping mask, which would hide the results Bilden ligger på ett lager med urklippsmask, som skulle dölja resultaten @msg the image is on a layer with an opacity mask, which would hide the results Bilden ligger på ett lager med opacitetsmask, som skulle dölja resultaten +@msg the image is on a layer with effects of its own, which would apply to the results Bilden ligger på ett lager med egna effekter, som också skulle tillämpas på resultaten @msg `output` must be "vector" `output` måste vara "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` tar ingen prompt och skapar bara vektorgrafik @msg Making the Concept to Vector styles Skapar stilar för Koncept till vektor diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 1791f73e19..96a8d9a399 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -7478,6 +7478,7 @@ breakText Glyphs Glifler @msg there is no room for the results to the right of the image Görüntünün sağında sonuçlar için yer yok @msg the image is on a layer with a clipping mask, which would hide the results Görüntü, sonuçları gizleyecek bir kırpma maskesi olan bir katmanda @msg the image is on a layer with an opacity mask, which would hide the results Görüntü, sonuçları gizleyecek bir opaklık maskesi olan bir katmanda +@msg the image is on a layer with effects of its own, which would apply to the results Görüntü, sonuçlara da uygulanacak kendi efektleri olan bir katmanda @msg `output` must be "vector" `output` "vector" olmalıdır @msg `{pid}` takes no prompt and makes vector art only `{pid}` istem almaz ve yalnızca vektör çizim yapar @msg Making the Concept to Vector styles Konseptten Vektöre stilleri yapılıyor diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 7833026b23..88ae5c3c12 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -7132,6 +7132,7 @@ breakText Glyphs Гліфи @msg there is no room for the results to the right of the image Праворуч від зображення немає місця для результатів @msg the image is on a layer with a clipping mask, which would hide the results Зображення на шарі з обтравною маскою, яка приховала б результати @msg the image is on a layer with an opacity mask, which would hide the results Зображення на шарі з маскою непрозорості, яка приховала б результати +@msg the image is on a layer with effects of its own, which would apply to the results Зображення на шарі з власними ефектами, які застосувалися б і до результатів @msg `output` must be "vector" `output` має бути "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` не приймає запиту і створює лише векторну графіку @msg Making the Concept to Vector styles Створення стилів «Концепт у вектор» diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index f0b17c84a9..af74e1adc5 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -7133,6 +7133,7 @@ breakText Glyphs Glyph @msg there is no room for the results to the right of the image Không còn chỗ cho kết quả ở bên phải ảnh @msg the image is on a layer with a clipping mask, which would hide the results Ảnh nằm trên một lớp có mặt nạ cắt, mặt nạ này sẽ che các kết quả @msg the image is on a layer with an opacity mask, which would hide the results Ảnh nằm trên một lớp có mặt nạ độ mờ, mặt nạ này sẽ che các kết quả +@msg the image is on a layer with effects of its own, which would apply to the results Ảnh nằm trên một lớp có hiệu ứng riêng, các hiệu ứng này cũng sẽ áp dụng cho kết quả @msg `output` must be "vector" `output` phải là "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` không nhận lời nhắc và chỉ tạo hình vector @msg Making the Concept to Vector styles Đang tạo kiểu Ý tưởng thành vector diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index f514afb2d2..dba893b4d7 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -7361,6 +7361,7 @@ breakText Glyphs 字形 @msg there is no room for the results to the right of the image 图像右侧没有放置结果的空间 @msg the image is on a layer with a clipping mask, which would hide the results 图像位于带剪切蒙版的图层上,剪切蒙版会遮住结果 @msg the image is on a layer with an opacity mask, which would hide the results 图像位于带不透明度蒙版的图层上,不透明度蒙版会遮住结果 +@msg the image is on a layer with effects of its own, which would apply to the results 图像位于带有自身效果的图层上,这些效果也会应用到结果上 @msg `output` must be "vector" `output` 必须是 "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` 不接受提示词,且只生成矢量图稿 @msg Making the Concept to Vector styles 正在生成概念转矢量样式 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index f65fce5e3f..99d1d4bb26 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -7168,6 +7168,7 @@ breakText Glyphs 字符 @msg there is no room for the results to the right of the image 影像右側沒有放置結果的空間 @msg the image is on a layer with a clipping mask, which would hide the results 影像位於帶有剪裁遮色片的圖層上,剪裁遮色片會遮住結果 @msg the image is on a layer with an opacity mask, which would hide the results 影像位於帶有不透明度遮色片的圖層上,不透明度遮色片會遮住結果 +@msg the image is on a layer with effects of its own, which would apply to the results 影像位於帶有自身效果的圖層上,這些效果也會套用到結果上 @msg `output` must be "vector" `output` 必須是 "vector" @msg `{pid}` takes no prompt and makes vector art only `{pid}` 不接受提示詞,且只製作向量圖稿 @msg Making the Concept to Vector styles 正在製作概念轉向量樣式 diff --git a/docs/mcp.md b/docs/mcp.md index db7c351035..5913aa4e62 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -3502,9 +3502,10 @@ already walks Image Trace. Short agent entry points: right past other visible art, also where a variation reaches past its image-sized box (the next one then starts 24 pt past what it paints); it is one undo step and selects the groups. The groups go above the outermost clip group or opacity-masked group around the image, so that it does not hide them, and above the outermost envelope, blend, - repeat or other live object around it, whose content stays as it is. It is an error when the job was canceled - or dropped, when its document is not the active one, when the object, its pixels or its placement changed, when - the object is now locked or hidden, or when it is on a layer with a clipping mask or an opacity mask. Example: + repeat or other live object, and the outermost group with effects or fills and strokes of its own, around it, whose + content stays as it is. It is an error when the job was canceled or dropped, when its document is not the active + one, when the object, its pixels or its placement changed, when the object is now locked or hidden, or when it is + on a layer with a clipping mask, an opacity mask or effects of its own. Example: ```json {"command": "conceptVector.generate", "params": {"provider": "offline.traceStyles", "styles": ["outline", "flatColor"], "detail": 60}}