diff --git a/source/import/importerthree.js b/source/import/importerthree.js index 75dbcfc..a9e124f 100644 --- a/source/import/importerthree.js +++ b/source/import/importerthree.js @@ -139,7 +139,9 @@ OV.ImporterThreeBase = class extends OV.ImporterBase AddObject (importer, model, childObject, node); } if (threeObject.isMesh && importer.IsMeshVisible (threeObject)) { - node.SetType (OV.NodeType.MeshNode); + if (threeObject.children.length === 0) { + node.SetType (OV.NodeType.MeshNode); + } let mesh = importer.ConvertThreeMesh (threeObject); let meshIndex = model.AddMesh (mesh); node.AddMeshIndex (meshIndex);