Skip to content

Commit

Permalink
removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
likangning93 committed Apr 6, 2017
1 parent 44bd46d commit 0376a1b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/getBinaryGltf.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ function getBinaryGltf(gltf, embed, embedImage) {
var sceneBuffer = new Buffer(sceneString);
var sceneLength = sceneBuffer.length;
var paddingLength = 4 - (sceneLength % 4); // pad out to 4 bytes as per glb specification
console.log(paddingLength);
sceneLength += paddingLength;
var paddingBuffer = new Buffer(paddingLength).fill(' ');
var scene = (Buffer.concat([sceneBuffer, paddingBuffer]));
Expand Down

0 comments on commit 0376a1b

Please sign in to comment.