M1: reword the unresolved point style import note

This commit is contained in:
Skyfuller1303 committed 2026-10-16 09:40:04 +02:00
1 parent 924310c124
commit 771f7e869f
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -942,7 +942,7 @@ impl<'a> Mapper<'a> {
self.warn("filled areas of a vector with their own fill use the layer's fill");
}
if unresolved_style {
self.warn("vector points with unresolved style IDs lost their point styles");
self.warn("some vector points refer to point settings missing from the file; they use the layer's joins and plain corners");
}
if unknown_join {
self.warn("vector points with unknown stroke joins use the layer join");
+6 -1
View File
@@ -301,7 +301,12 @@ fn vectors_import_as_editable_networks() {
let fallback = network_of(&doc, "Join Fallbacks");
assert!(fallback.vertices.iter().all(|v| v.join.is_none()));
assert_eq!(named(&doc, "Join Fallbacks").stroke.join, StrokeJoin::Miter);
assert!(warnings.iter().any(|w| w.contains("unresolved style IDs lost their point styles")), "{warnings:?}");
assert!(
warnings
.iter()
.any(|w| w.contains("vector points refer to point settings missing from the file; they use the layer's joins and plain corners")),
"{warnings:?}"
);
assert!(warnings.iter().any(|w| w.contains("unknown stroke joins use the layer join")), "{warnings:?}");
assert!(warnings.iter().any(|w| w.contains("dashed or variable-width strokes render with the layer join")), "{warnings:?}");
}