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-9d2fd5bffc1fpull/5/head
parent
29d3a18962
commit
fa6039e1cb
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue