Hello
I am having a strange issue with the Collada Dom API’s function DAE::load that wasent giving me problems untill now. The first thing my Collada parser does is call the function DAE::load to load the Collada document. I do it like so
bool CCollada::Import ( std::string FilePath, CFileAssetData* pAssetData )
{
// Import the collada document
daeInt result = m_dae.load( FilePath.c_str() );
if ( result != DAE_OK)
{
// Handle error return false;
}
// ... Other import code
}
When I execute the statment
daeInt result = m_dae.load( FilePath.c_str() );
I get an assertion error that says
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
I am using visual studio 2010, perhaps this might be the problem? It use to work for me when I used Visual Studio 2008.
I apprecaite any help.