diff --git a/code/ColladaLoader.cpp b/code/ColladaLoader.cpp index c40d3b8f2..7e4704b8f 100644 --- a/code/ColladaLoader.cpp +++ b/code/ColladaLoader.cpp @@ -521,7 +521,10 @@ void ColladaLoader::BuildMeshesForNode( const ColladaParser& pParser, const Coll // assign the material index dstMesh->mMaterialIndex = matIdx; - dstMesh->mName = mid.mMeshOrController; + if(dstMesh->mName.length == 0) + { + dstMesh->mName = mid.mMeshOrController; + } } } }