drop identity matrices before FFI output

This commit is contained in:
Elena Torro 2026-06-10 13:22:44 +02:00
parent 6022f070eb
commit 815969f4d0

View File

@ -498,8 +498,11 @@ pub fn propagate_modifiers(
}
}
// Drop identity matrices: the reflow-mark inserts a no-op entry for every
// descendant of a reflowed subtree; emitting them floods the FFI output.
Ok(modifiers
.iter()
.filter(|(_, val)| !identitish(val))
.map(|(key, val)| TransformEntry::from_input(*key, *val))
.collect())
}