Native format: precision rounds Intertwine areas of every tier

A save with precision rounded the tier-1 Intertwine area but left the
areas of tier 2 and up exact. The format test now gives the object a
tier-2 area too, and sets the symbol's new dynamic field.
This commit is contained in:
dotCooCoo
2026-10-31 18:34:18 -07:00
parent caafc2a02a
commit 891766a5ed
2 changed files with 9 additions and 6 deletions
+4 -2
View File
@@ -164,8 +164,10 @@ impl Document {
}
_ => {}
}
if let Some(area) = n.extras_if_any().and_then(|e| e.intertwine.as_deref_mut()) {
round_path(area);
if let Some(e) = n.extras_if_any() {
for area in e.intertwine.as_deref_mut().into_iter().chain(e.intertwine_tiers.iter_mut()) {
round_path(area);
}
}
};
let roots = self