Fix for an older issues that was causing bad indices to be used

This commit is contained in:
AlexandruPopovici
2022-06-08 17:06:36 +03:00
parent 99fac2f8e9
commit fbb3701917
@@ -462,7 +462,7 @@ export default class Coverter {
let k = 0
while (k < faces.length) {
let n = faces[k]
if (n <= 3) n += 3 // 0 -> 3, 1 -> 4
if (n < 3) n += 3 // 0 -> 3, 1 -> 4
if (n === 3) {
// Triangle face