Bugfix: Collada Exporter writes proper mesh references now - that makes static scenes work just fine

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1164 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
ulfjorensen 2012-02-13 15:53:59 +00:00
parent 29d3a18962
commit fa6039e1cb
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ void ColladaExporter::WriteNode( const aiNode* pNode)
for( size_t a = 0; a < pNode->mNumMeshes; ++a )
{
// const aiMesh* mesh = mScene->mMeshes[pNode->mMeshes[a]];
mOutput << startstr << "<instance_geometry url=\"#" << GetMeshId( a) << "\">" << endstr;
mOutput << startstr << "<instance_geometry url=\"#" << GetMeshId( pNode->mMeshes[a]) << "\">" << endstr;
PushTag();
PopTag();