fix for issue #1003 (Loading multiple GLB files with animations fails)

accellbaker
Stephen Gold 6 years ago
parent d17376e713
commit 34b32bf29b
  1. 1
      jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GlbLoader.java

@ -18,6 +18,7 @@ public class GlbLoader extends GltfLoader {
@Override
public Object load(AssetInfo assetInfo) throws IOException {
data.clear();
LittleEndien stream = new LittleEndien(new DataInputStream(assetInfo.openStream()));
int magic = stream.readInt();
int version = stream.readInt();

Loading…
Cancel
Save