From 7df3399dece20a8073bdf474ad45c665ffeb6dbd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 29 Nov 2005 18:05:16 +0000 Subject: [PATCH] partial revert for now --- stepmania/src/BGAnimationLayer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index 57809d88ad..8fc75df713 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -338,8 +338,6 @@ void BGAnimationLayer::LoadFromAniLayerFile( const CString& sPath ) void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode ) { - ActorFrame::LoadFromNode( sDir, pNode ); - CString sAniDir = sDir; 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( "TexCoordVelocityY", m_fTexCoordVelocityY ); pNode->GetAttrValue( "DrawCond", m_sDrawCond );