Merge pull request #1804 from tylerjenningsw/fix/roto-stroke-order

Roto Brush: apply correction strokes in drawing order (#1646)
This commit is contained in:
BFlat
2026-10-30 01:21:32 +07:00
committed by GitHub
4 changed files with 286 additions and 63 deletions
+1 -1
View File
@@ -721,7 +721,7 @@ pub fn read_layer_entry(data: &[u8]) -> Option<Buf> {
/// The disk key of a segmentation: its chain key and scale.
fn seg_key(key: u64, scale: f64) -> u128 {
let mut h = Hash128::default();
h.write(b"segmentation-v1");
h.write(b"segmentation-v2");
h.write_u64(key);
h.write_u64(scale.to_bits());
h.finish()