|
|
@ -367,7 +367,6 @@ public class GltfLoader implements AssetLoader { |
|
|
|
buffs.weights = readAccessorData(entry.getValue().getAsInt(), new FloatArrayPopulator()); |
|
|
|
buffs.weights = readAccessorData(entry.getValue().getAsInt(), new FloatArrayPopulator()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
VertexBuffer vb = readAccessorData(entry.getValue().getAsInt(), new VertexBufferPopulator(getVertexBufferType(bufferType))); |
|
|
|
VertexBuffer vb = readAccessorData(entry.getValue().getAsInt(), new VertexBufferPopulator(getVertexBufferType(bufferType))); |
|
|
|
System.err.println(bufferType); |
|
|
|
|
|
|
|
if (vb != null) { |
|
|
|
if (vb != null) { |
|
|
|
mesh.setBuffer(vb); |
|
|
|
mesh.setBuffer(vb); |
|
|
|
} |
|
|
|
} |
|
|
|