Skip to content

Commit

Permalink
fix bug in Gltf 2.0 Header parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbo023 committed Mar 5, 2018
1 parent db15643 commit 0bde3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ThirdParty/GltfPipeline/parseBinaryGltf.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ define([

// Load binary glTF version 2
if (version === 2) {
length = headerView.getInt32(8);
length = headerView.getInt32(8, true);
var byteOffset = 12;
var binaryBuffer;
while (byteOffset < length) {
Expand Down

0 comments on commit 0bde3d2

Please sign in to comment.