fix(render): the GPU bake test's BakeRequest names the new skew field

This commit is contained in:
bflatastic committed 2026-11-02 16:21:40 +07:00
1 parent 7437962a3b
commit 63b54f1cec
1 file changed
+1 -1
+1 -1
View File
@@ -365,7 +365,7 @@ mod tests {
fn run(low: &Mesh, high: Option<&Mesh>, s: &BakeSettings, tracer: Option<&GpuBaker>) -> BakeOutput {
let (lb, hb) = (Bvh::new(low), high.map(Bvh::new));
let high = high.zip(hb.as_ref()).map(|(mesh, bvh)| HighPoly { mesh, bvh, base_color: &[] });
let req = BakeRequest { mesh: low, bvh: &lb, material: 0, settings: s, high, cage: None, tiles: (1, 1) };
let req = BakeRequest { mesh: low, bvh: &lb, material: 0, settings: s, high, cage: None, skew: None, tiles: (1, 1) };
match tracer {
Some(t) => bake_on(&req, &Progress::new(), t).unwrap(),
None => bake(&req, &Progress::new()).unwrap(),