mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 01:50:22 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user