hard-code z test because it's difficult get it set correctly on leaves in from in Lua

This commit is contained in:
Chris Danford
2008-02-15 09:40:06 +00:00
parent 3708fcc555
commit 7d1cff4639
+5
View File
@@ -30,6 +30,11 @@ FadingBanner::FadingBanner()
{
m_Banner[i].SetName( "Banner" );
ActorUtil::LoadAllCommandsAndOnCommand( m_Banner[i], "FadingBanner" );
/* TODO: Move this into Lua. Ideally, there should be a ZTEST_NO_CHANGE that
* would let a ztest command on an ActorFrame propagate to all children. */
m_Banner[i].SetZTestMode( ZTEST_WRITE_ON_FAIL );
this->AddChild( &m_Banner[i] );
}
}