mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-24 00:10:45 +01:00
fix(render): the GPU bake test's BakeRequest names the new skew field
This commit is contained in:
1 parent
7437962a3b
commit
63b54f1cec
1 file changed
+1
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user