partial revert for now
This commit is contained in:
@@ -338,8 +338,6 @@ void BGAnimationLayer::LoadFromAniLayerFile( const CString& sPath )
|
|||||||
|
|
||||||
void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode )
|
void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode )
|
||||||
{
|
{
|
||||||
ActorFrame::LoadFromNode( sDir, pNode );
|
|
||||||
|
|
||||||
CString sAniDir = sDir;
|
CString sAniDir = sDir;
|
||||||
|
|
||||||
if( sAniDir.Right(1) != "/" )
|
if( sAniDir.Right(1) != "/" )
|
||||||
@@ -402,6 +400,9 @@ void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pNode->GetAttrValue( "FOV", m_fFOV );
|
||||||
|
pNode->GetAttrValue( "Lighting", m_bLighting );
|
||||||
|
|
||||||
pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX );
|
pNode->GetAttrValue( "TexCoordVelocityX", m_fTexCoordVelocityX );
|
||||||
pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY );
|
pNode->GetAttrValue( "TexCoordVelocityY", m_fTexCoordVelocityY );
|
||||||
pNode->GetAttrValue( "DrawCond", m_sDrawCond );
|
pNode->GetAttrValue( "DrawCond", m_sDrawCond );
|
||||||
|
|||||||
Reference in New Issue
Block a user