remove console.logs (totally or replace with console.debug)
This commit is contained in:
parent
236d612c20
commit
563c0d3e29
3 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue