Skip to content

Commit 0d8b86b

Browse files
committed
Add default config for glb loader
1 parent 11a647a commit 0d8b86b

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
**/.classpath
33
**/.settings
44
**/.project
5+
**/out
56
/.gradle/
67
/.nb-gradle/
78
/.idea/

jme3-core/src/main/resources/com/jme3/asset/General.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ LOADER com.jme3.shader.plugins.GLSLLoader : vert, frag, geom, tsctrl, tseval, gl
2525
LOADER com.jme3.scene.plugins.fbx.FbxLoader : fbx
2626
LOADER com.jme3.scene.plugins.gltf.GltfLoader : gltf
2727
LOADER com.jme3.scene.plugins.gltf.BinLoader : bin
28+
LOADER com.jme3.scene.plugins.gltf.GlbLoader : glb

jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GlbLoader.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public Object load(AssetInfo assetInfo) throws IOException {
2222
int magic = stream.readInt();
2323
int version = stream.readInt();
2424
int length = stream.readInt();
25-
System.err.println(magic == GLTF_MAGIC ? "gltf" : "no no no");
26-
System.err.println(version);
27-
System.err.println(length);
2825

2926
byte[] json = null;
3027

@@ -37,7 +34,6 @@ public Object load(AssetInfo assetInfo) throws IOException {
3734
if (chunkType == JSON_TYPE) {
3835
json = new byte[chunkLength];
3936
stream.read(json);
40-
System.err.println(new String(json));
4137
} else {
4238
byte[] bin = new byte[chunkLength];
4339
stream.read(bin);

0 commit comments

Comments
 (0)