diff --git a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java index 3d64dd3a5..4d57567c4 100644 --- a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java +++ b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java @@ -139,7 +139,9 @@ public final class OBJLoader implements AssetLoader { public Spatial createGeometry(){ Node groupNode = new Node(objectName); - + if (objectName == null) { + groupNode.setName("Model"); + } // if (matFaces.size() > 0){ // for (Entry> entry : matFaces.entrySet()){ // ArrayList materialFaces = entry.getValue();