fixed issue with missing COLLADA Physics asset

This commit is contained in:
ejcoumans
2006-12-20 21:23:58 +00:00
parent 48c6917387
commit 62c93b02bb

View File

@@ -178,7 +178,7 @@ bool ColladaConverter::convert()
//succesfully loaded file, now convert data
if ( m_dom->getAsset()->getUp_axis() )
if ( m_dom->getAsset() && m_dom->getAsset()->getUp_axis() )
{
domAsset::domUp_axis * up = m_dom->getAsset()->getUp_axis();
switch( up->getValue() )