fixed issue with missing COLLADA Physics asset
This commit is contained in:
@@ -178,7 +178,7 @@ bool ColladaConverter::convert()
|
|||||||
|
|
||||||
//succesfully loaded file, now convert data
|
//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();
|
domAsset::domUp_axis * up = m_dom->getAsset()->getUp_axis();
|
||||||
switch( up->getValue() )
|
switch( up->getValue() )
|
||||||
|
|||||||
Reference in New Issue
Block a user