fixed issue with missing COLLADA Physics asset

This commit is contained in:
ejcoumans committed 2006-12-20 21:23:58 +00:00
1 parent 48c6917387
commit 62c93b02bb
1 file changed
+1 -1
+1 -1
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() )