remove console.logs (totally or replace with console.debug)

This commit is contained in:
りき萌 2025-09-10 17:55:27 +02:00
parent 236d612c20
commit 563c0d3e29
3 changed files with 2 additions and 3 deletions

View file

@ -177,7 +177,6 @@ export class AtlasAllocator {
gl.bindBuffer(gl.ARRAY_BUFFER, this.compositeRectVbo); gl.bindBuffer(gl.ARRAY_BUFFER, this.compositeRectVbo);
gl.bufferData(gl.ARRAY_BUFFER, this.compositeRectData, gl.DYNAMIC_DRAW); gl.bufferData(gl.ARRAY_BUFFER, this.compositeRectData, gl.DYNAMIC_DRAW);
console.log(this.compositeRectData.byteLength);
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, this.compositeRectIbo); gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, this.compositeRectIbo);
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, compositeRectIndices, gl.DYNAMIC_DRAW); gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, compositeRectIndices, gl.DYNAMIC_DRAW);

View file

@ -287,7 +287,7 @@ function readUrl(urlString) {
let data = new Blob(dataParts); let data = new Blob(dataParts);
console.log("sending edit data. record count:", editRecords.length, "data blob:", data); console.debug("sending edit data. record count:", editRecords.length, "data blob:", data);
session.sendEdit(editRecords, data); session.sendEdit(editRecords, data);
}); });

View file

@ -89,7 +89,7 @@ export class Layer {
let blob = canvas.convertToBlob({ type: "image/png" }); let blob = canvas.convertToBlob({ type: "image/png" });
let end = performance.now(); let end = performance.now();
console.log("encoding image took", end - start, "ms"); console.debug("encoding image took", end - start, "ms");
encodeTime += end - start; encodeTime += end - start;
return blob; return blob;