Attempt to pacify automatic checker

pull/546/head
marko 2020-08-13 18:44:50 -04:00
parent c06e3b2458
commit 6294402ebe
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ function initNormals() {
function readSTL(fn) {
var fb = require("Storage").read(fn);
var nverts=0,i=0; while(i=fb.indexOf("vertex",i)+1) nverts++;
var nverts=0,i=0; while((i=fb.indexOf("vertex",i)+1)!=0) nverts++;
points = new Float32Array(nverts);
p_points = E.getAddressOf(points, true);
faces = new Uint16Array(nverts);