fix image converted surface normals

This commit is contained in:
Stewart Allen 2021-02-11 18:40:17 -05:00
commit 3028aa05c5
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,6 @@
## `C` cosmetic, `F` functional, `P` performance, `B` bug fix
* `B` normals possibly inverted on faces in 2D to 3D conversion
* `B` origin bug (Onshape?) when switching modes in 2.5 and 2.6
* `P` duplicate objects should share same slice data unless rotated or scaled

View file

@ -414,11 +414,11 @@ KIRI.worker = {
let p3 = (x - 0) * height + (y - 0);
let p4 = (x - 1) * height + (y - 1);
faces[ii++] = p1;
faces[ii++] = p2;
faces[ii++] = p3;
faces[ii++] = p1;
faces[ii++] = p4;
faces[ii++] = p2;
faces[ii++] = p1;
faces[ii++] = p2;
faces[ii++] = p4;
}
}
send.data({progress: x / width});