|
@@ -123,8 +123,8 @@ namespace Unity3D2Babylon
|
|
|
babylonMesh.id = GetID(transform.gameObject);
|
|
|
babylonMesh.receiveShadows = renderer.receiveShadows;
|
|
|
|
|
|
- babylonMesh.parentId = GetParentID(transform);
|
|
|
- ConvertTransform(babylonMesh, transform, gameObject, instances);
|
|
|
+ babylonMesh.parentId = GetParentID(transform);
|
|
|
+ ConvertTransform(babylonMesh, transform, gameObject, instances);
|
|
|
|
|
|
babylonMesh.positions = new float[mesh.vertexCount * 3];
|
|
|
|